Get User
api/admin/users/retrieve
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/admin/users/retrieve Changed · +11 / -14 lines
# Get User ## Path parameters ## Returns ## Example ### Response (200) ## Get User ### Path Parameters ### Returns ### Example #### Response
---- -title: Get User -url: https://platform.claude.com/docs/en/api/admin/users/retrieve ---- +# Get User -## Get User +**GET** `/v1/organizations/users/{user_id}` -**get** `/v1/organizations/users/{user_id}` - For Claude Enterprise organizations, this endpoint's availability is in beta. -### Path Parameters +## Path parameters - `user_id: string` ID of the User. -### Returns +## Returns -- `User object { id, added_at, email, 3 more }` +- `User object` - `id: string`
RFC 3339 datetime string indicating when the User joined the Organization. + format: date-time + - `email: string` Email of the User.
For Users, this is always `"user"`. - - `"user"` + default: user -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/organizations/users/$USER_ID \ -H 'anthropic-version: 2023-06-01' \ -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" ``` -#### Response +### Response (200) ```json {