Detail User by ID
This API returns detailed information about a specific user account identified by ID.
Endpoint Details
| URL | /v1/auth/users/id |
| Method | GET |
| Authorization | Bearer Token |
Request Headers
| Header | Type | Description |
|---|---|---|
| Content-Type | String | Must 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
| Parameter | Type | Description |
|---|---|---|
| id | UUID | Unique 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
| Field | Type | Description |
|---|---|---|
| id | UUID | Unique identifier of the user |
| tenant_id | UUID | Identifier of the tenant that owns the user |
| String | Email address of the user | |
| first_name | String | First name of the user |
| last_name | String | Last name of the user |
| role_code | String | Role assigned to the user |
| is_active | Boolean | Indicates whether the user account is active |
| is_verified | Boolean | Indicates whether the user account has been verified |
| last_login_at | Integer | Timestamp of the user's last login in Unix format |
| created_by | UUID | Identifier of the user who created the account |
| updated_by | UUID | Identifier of the user who last updated the account |
| created_at | Integer | User creation timestamp in Unix format |
| updated_at | Integer | Last update timestamp in Unix format |
info
- A valid Bearer Token is required to access this endpoint.
- The
idpath parameter must reference an existing user. - Unix timestamp fields can be converted to a human-readable date and time format as needed.