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.
Pfadparameter
app_idstringerforderlichBeispiel:
app_selleruser_idstringerforderlichBeispiel:
usr_tr_8f2c91a7
Antworten
200OKUser
The user
idstringregionstringMore regions will be added; clients must accept unknown values.
Werte:
EUTRemailstringemail_verifiedbooleanphonestringNot available yet.
namestringcountrystringlabelsLabelsstatusstringWerte:
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
errorobjecterforderlich5 Felder
codestringerforderlichStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Beispiel:
region_unavailablemessagestringerforderlichPlain English, for developers
regionstringnullableRegion that produced the error, if any
Werte:
EUTRretryablebooleanerforderlichdetailsobject
503Service UnavailableError
region_unavailable: the user's region cannot answer right now. Retry afterRetry-Afterseconds.errorobjecterforderlich5 Felder
codestringerforderlichStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Beispiel:
region_unavailablemessagestringerforderlichPlain English, for developers
regionstringnullableRegion that produced the error, if any
Werte:
EUTRretryablebooleanerforderlichdetailsobject