Get User
Users
Get User
Retrieves a user by their Clerk user ID
GET
Get User
Retrieves the full details of a user by their Clerk user ID. This endpoint returns user profile information including contact details, profile picture, and metadata.
User management (creation, updates, deletion) is handled directly through
Clerk. This endpoint provides read-only access to user data.
Authentication
This endpoint requires authentication. The user must be signed in.Request
The Clerk user ID of the user to retrieve (e.g.,
user_abc123).Response
Returns the complete Clerk user object.Unique Clerk user identifier.
The user’s first name. May be
null if not set.The user’s last name. May be
null if not set.The user’s username. May be
null if not set.ID of the user’s primary email address.
The user’s primary email address object.
Array of all email addresses associated with this user.
ID of the user’s primary phone number. May be
null if not set.Array of all phone numbers associated with this user.
URL to the user’s profile image.
Whether the user has uploaded a custom profile image.
External identifier for the user if set. May be
null.Public metadata object for the user. Accessible from frontend.
Private metadata object for the user. Only accessible from backend.
Unsafe metadata object that can be modified from frontend.
Unix timestamp (milliseconds) of when the user was created.
Unix timestamp (milliseconds) of when the user was last updated.
Unix timestamp (milliseconds) of the user’s last sign-in. May be
null if
never signed in.Whether the user has two-factor authentication enabled.
Whether the user is banned from the organization.
Whether the user account is locked.
Response Examples
Error Codes
| Status Code | Error Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | User is not authenticated. Ensure a valid session exists. |
| 404 | NOT_FOUND | No user exists with the specified Clerk ID. |
| 500 | INTERNAL_ERROR | An unexpected server error occurred. |