GET
/
v1
/
organizations
/
users
curl "https://api.anthropic.com/v1/organizations/users" \
  --header "anthropic-version: 2023-06-01" \
  --header "content-type: application/json" \
  --header "x-api-key: $ANTHROPIC_ADMIN_KEY"
{
  "data": [
    {
      "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
      "type": "user",
      "email": "user@emaildomain.com",
      "name": "Jane Doe",
      "role": "user",
      "added_at": "2024-10-30T23:58:27.427722Z"
    }
  ],
  "has_more": true,
  "first_id": "<string>",
  "last_id": "<string>"
}

Headers

x-api-key
string
required

Your unique Admin API key for authentication.

This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console.

anthropic-version
string
required

The version of the Anthropic API you want to use.

Read more about versioning and our version history here.

Query Parameters

before_id
string

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.

after_id
string

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.

limit
integer
default:20

Number of items to return per page.

Defaults to 20. Ranges from 1 to 1000.

Required range: 1 <= x <= 1000
email
string

Filter by user email.

Response

200
application/json

Successful Response

The response is of type object.