Get User Account
GET/v1/users/{userId}
Retrieves account information for a user by their unique identifier.
Response Data
The account includes:
- User Profile: User ID, phone number, and account status
Use Cases
- Account Verification: Confirm user exists before making other API calls
- Session Initialization: Load user context when app launches
- Profile Display: Show user information in settings screens
A 204 No Content response indicates the user ID is valid but no account record exists (user may need to be provisioned).
Path Parameters
The ID of the user to retrieve
Header Parameters
Product version. The standard "major.minor.patch" format is highly encouraged without any leading characters; "2.1.3" or "3.0.0" for example.
Responses
- 200
- 204
- 400
- 500
OK
Response Body
Unique user ID used to identify this particular user
Unique salt for the given user for salting their contacts before uploading
Example from Schema
{
"userId": "string",
"contactSalt": "string"
}
No Content - User account not found
Bad Request
Response Body
A unique error ID for tracking and support purposes. Include this ID when contacting support.
err_7f3b9c2a-1234-5678-9abc-def012345678HTTP status code mirrored in the response body for convenience.
400A developer-friendly error message with technical details for debugging.
Invalid phone number format. Expected E.164 format (e.g., +14155551234)A user-friendly error message safe to display in the UI. Localized based on the Accept-Language header when available.
The phone number you entered is not valid. Please check and try again.Example from Schema
{
"errorId": "err_7f3b9c2a-1234-5678-9abc-def012345678",
"status": 400,
"errorDescription": "Invalid phone number format. Expected E.164 format (e.g., +14155551234)",
"displayError": "The phone number you entered is not valid. Please check and try again."
}
Internal Server Error
Response Body
A unique error ID for tracking and support purposes. Include this ID when contacting support.
err_7f3b9c2a-1234-5678-9abc-def012345678HTTP status code mirrored in the response body for convenience.
400A developer-friendly error message with technical details for debugging.
Invalid phone number format. Expected E.164 format (e.g., +14155551234)A user-friendly error message safe to display in the UI. Localized based on the Accept-Language header when available.
The phone number you entered is not valid. Please check and try again.Example from Schema
{
"errorId": "err_7f3b9c2a-1234-5678-9abc-def012345678",
"status": 400,
"errorDescription": "Invalid phone number format. Expected E.164 format (e.g., +14155551234)",
"displayError": "The phone number you entered is not valid. Please check and try again."
}