> ## Documentation Index
> Fetch the complete documentation index at: https://usegately.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Member

> Create a new project member

Create a new member in your project.

## Request Body

<ParamField body="email" type="string" required>
  Email address of the member
</ParamField>

<ParamField body="password" type="string">
  Password for the member (optional if using invitations)
</ParamField>

<ParamField body="role" type="string" default="member">
  Role: `member`, `admin`, or custom role
</ParamField>

<ParamField body="metadata" type="object">
  Additional member data (name, avatar, etc.)
</ParamField>

## Response

<ResponseField name="member" type="object">
  The created member object
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X POST "https://api.usegately.com/api/v1/members" \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "email": "newuser@example.com",
      "role": "member",
      "metadata": {
        "name": "John Doe",
        "company": "Acme Inc"
      }
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "member": {
      "id": "mem_123",
      "email": "newuser@example.com",
      "role": "member",
      "status": "active",
      "metadata": {
        "name": "John Doe",
        "company": "Acme Inc"
      },
      "joined_date": "2024-01-15T10:30:00Z"
    }
  }
  ```
</ResponseExample>
