Users
Get a user
GET/v1/applications/{app_id}/users/{user_id}
Returns the full user object; there is no fields or expand
filtering yet. user_id must belong to the application's region
(its prefix, e.g. usr_tr_..., names the region) or this returns
404 without calling the region at all.
Path parameters
app_idstringrequiredExample:
app_selleruser_idstringrequiredExample:
usr_tr_8f2c91a7
Responses
200OKUser
The user
idstringregionstringMore regions will be added; clients must accept unknown values.
Values:
EUTRemailstringemail_verifiedbooleanphonestringNot available yet.
namestringcountrystringlabelsLabelsstatusstringValues:
activelockedbannedinvitedcreated_atstring (date-time)last_sign_in_atstring (date-time)sessionsobject[]Not available yet (planned expand=sessions).
mfa_factorsstring[]Not available yet (planned expand=mfa_factors).
sign_in_historyobject[]Not available yet (planned expand=sign_in_history).
metadataobjectNot available yet (planned expand=metadata).
consentsobject[]Not available yet (planned expand=consents).
404Not FoundError
Not found
errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject
503Service UnavailableError
region_unavailable: the user's region cannot answer right now. Retry afterRetry-Afterseconds.errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject