GET
Get user
Returns the associated user
Path Params
-
idstring requiredThe user ID, email address, ormefor the currently authenticated user
Query Params
-
orgIdstringThe organization ID by which to filter the user's enterprises. -
maxEnterprisesintegerSpecifies the maximum number of enterprises to return. An organization ID must be provided. The maximum limit is 50 enterprises.
Responses
200
OK
Response Body
object
-
userobject requireduser object
-
idstring -
isActiveboolean -
isFrozenboolean -
freezeReasonstring -
nameobjectname object
-
firststring -
fullstring -
laststring
-
-
usernamestring email -
emailobjectemail object
-
emailstring email -
verifiedboolean
-
-
phoneobjectphone object
-
phonestring -
verifiedboolean
-
-
countrystring -
statestring -
kycStatusstring enumuser's overall KYC statusapprovedpendingrejectedunverified
-
-
kycStatusstring enumThe user's KYC status. Only returned when the requester is an org admin viewing another user.approvedpendingrejectedunverified
400
Bad Request
Response Body
ONE OF
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id -
contextobjectProperties that apply to a specific error name -
namestring requiredError code
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id -
contextobject requiredcontext object
-
idstring
-
-
namestring enum requiredError codeInvalidUserId
404
Not Found
No response body