---
updatedAt: 2026-09-30T16:49:22.000Z
agentTools:
  projectIndex: https://developers.localizejs.com/llms.txt
---

# Get a team member for a project

Get a single team member for a given project

You can <Anchor target="_blank" href="https://localizejs.com/settings/organization/api-keys">create and view your private API Key here</Anchor>.

<HTMLBlock>{`

<div class="param-type-header" style="margin-left: 0px;"><h3>Try it</h3></div>
<div style="margin: 0% 2%;">

<div style="background-color: #fff3cd; border-left: 4px solid #f0ad4e; padding: 12px 16px; margin: 16px 0; border-radius: 4px;">
  <p style="margin: 0;"><strong>⚠️ This uses your production account</strong></p>
  <p style="margin: 8px 0 0;">The <b>Try It</b> feature sends <strong>real API requests directly to your production Localize account</strong>. There is no sandbox, demo, or test environment. Requests are authenticated using your Localize API Key and operate directly on your production data.</p>
</div>

<p>To use the <b>Try It</b> feature:</p>
<ol>
  <li>Enter your <strong>production Localize API Key</strong> in the <b>Header</b> field in the AUTHENTICATION section on the right.</li>
  <li>Fill in all required fields below, and any optional fields as needed.</li>
  <li>Click the <b>Try it</b> button to send the request.</li>
  <li>View the API response and any errors on the right side of the screen.</li>
</ol>

<div style="background-color: #f8d7da; border-left: 4px solid #dc3545; padding: 12px 16px; margin: 16px 0; border-radius: 4px;">
  <p style="margin: 0;"><strong>🚨 Changes are applied to production</strong></p>
  <p style="margin: 8px 0 0;">Any changes made by the API request will affect your <strong>production Localize account</strong>. Use this feature with the same care as you would when making the request from your own application.</p>
</div>

<p>You can also copy the sample code provided on the right side of the screen and use it as a starting point for making requests from your own application.</p>

</div>
`}</HTMLBlock>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "rest-api",
    "version": "4.0"
  },
  "servers": [
    {
      "url": "https://api.localizejs.com/v2.0",
      "description": "Production Public API",
      "variables": {
        "env": {
          "default": "prod",
          "description": "Environment: production",
          "enum": [
            "prod"
          ]
        },
        "version": {
          "default": "v2",
          "description": "API version"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "API_TOKEN_HERE"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/projects/{projectKey}/team-members/{userId}": {
      "get": {
        "summary": "Get a team member for a project",
        "description": "Get a single team member for a given project",
        "operationId": "get-team-member-for-project",
        "parameters": [
          {
            "name": "projectKey",
            "in": "path",
            "description": "The Project Key (this is NOT the Project ID)",
            "schema": {
              "type": "string",
              "default": "YOUR_PROJECT_KEY"
            },
            "required": true
          },
          {
            "name": "userId",
            "in": "path",
            "description": "The user ID of the team member",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{  \n   meta: {  \n      status: 200,\n      success: true\n   },\n   data: {  \n      team: [  \n         {  \n            type: 'owner',\n            createProject: true,\n            manageBilling: true,\n            user: {  \n               name: 'Admin',\n               email: 'admin@example.com'\n            },\n            projectRoles: [],\n            allProjectRoles: {\n               translationLanguages: ['all'],\n               language: true,\n               order: true,\n               content: true,\n               view: true,\n               admin: true,\n            },\n            invitePending: false,\n         },\n      ]\n   }\n}"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```