Skip to main content

Detail User by ID

This API returns detailed information about a specific user account identified by ID.

Endpoint Details

URL/v1/auth/users/id
MethodGET
AuthorizationBearer Token

Request Headers

HeaderTypeDescription
Content-TypeStringMust be application/json

Request Path

To retrieve the details of a specific user, use the following request format:

/v1/auth/users/c777977b-7a32-4040-b7b0-ee51721433fd

Path Parameter

ParameterTypeDescription
idUUIDUnique identifier of the user

Response

Here is an example of a response when viewing data details:

Response
{
"user": {
"id": "c777977b-7a32-4040-b7b0-ee51721433fd",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"email": "masterzilong31@gmail.com",
"first_name": "Master",
"last_name": "Member",
"role_code": "member",
"is_active": true,
"is_verified": true,
"last_login_at": 1780041445,
"created_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"updated_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"created_at": 1780022675,
"updated_at": 1780041454
}
}

Field Descriptions

FieldTypeDescription
idUUIDUnique identifier of the user
tenant_idUUIDIdentifier of the tenant that owns the user
emailStringEmail address of the user
first_nameStringFirst name of the user
last_nameStringLast name of the user
role_codeStringRole assigned to the user
is_activeBooleanIndicates whether the user account is active
is_verifiedBooleanIndicates whether the user account has been verified
last_login_atIntegerTimestamp of the user's last login in Unix format
created_byUUIDIdentifier of the user who created the account
updated_byUUIDIdentifier of the user who last updated the account
created_atIntegerUser creation timestamp in Unix format
updated_atIntegerLast update timestamp in Unix format

info
  • A valid Bearer Token is required to access this endpoint.
  • The id path parameter must reference an existing user.
  • Unix timestamp fields can be converted to a human-readable date and time format as needed.