Get User

Retrieve a member of the organization by user ID.

get/v1/organizations/users/{user_id}?beta=true

Path parameters

user_idstring required

ID of the User.

ID of the User.

Headers

x-api-keystring

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.

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-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Response

Successful Response

added_atstring date-time required

RFC 3339 datetime string indicating when the User joined the Organization.

emailstring required

Email of the User.

idstring required

ID of the User.

namestring required

Name of the User.

role'admin' | 'billing' | 'claude_code_user' | 'developer' | 'managed' | 'membership_admin' | 'owner' | 'primary_owner' | 'user' required
type'user' required

Object type.

For Users, this is always "user".

Example response

{
  "added_at": "2024-10-30T23:58:27.427722Z",
  "email": "user@emaildomain.com",
  "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
  "name": "Jane Doe"
}

Changes