This API endpoint retrieves the details of a specific user by their unique ID.
Request
GET/users/:id
:id with the user’s unique identifier (UUID).Authorization: Bearer token for API authentication (required)Example Request:
curl --request GET \\
--url <http://aerodox.application.trustion-validate.com/users/4b77b701-f796-473f-aa3e-7e8604678acf> \\
--header 'Authorization: Bearer <token>' \\
Response Fields
Status code: 200
data (object): User details:
id (string): Unique ID of the user.first_name (string): User’s first name.last_name (string): User’s last name.email (string): User’s email address.password (string): Encrypted password (masked).location (string or null): User’s location (if provided).title (string or null): User’s title or job position.description (string or null): Description or bio of the user.tags (array or null): Tags associated with the user.avatar (string or null): URL or reference to the user’s avatar image.language (string or null): Preferred language.tfa_secret (string or null): Two-factor authentication secret (if enabled).status (string): Account status (e.g., active).role (string): Role ID associated with the user.token (string): API token (masked).last_access (string, ISO 8601): Last time the user accessed the platform.last_page (string): Last visited page within the platform.provider (string): Authentication provider (default or external).external_identifier (string or null): External ID, if applicable.auth_data (object or null): Additional authentication data.email_notifications (boolean): Whether email notifications are enabled.appearance (string or null): Appearance settings (if used).theme_dark (string or null): Dark theme configuration.theme_light (string or null): Light theme configuration.theme_light_overrides (string or null): Light theme overrides.theme_dark_overrides (string or null): Dark theme overrides.organisation (string): ID of the organisation the user belongs to.policies (array): List of policies assigned to the user (if applicable).{
"data": {
"id": "4b77b701-f796-473f-aa3e-7e8604678acf",
"first_name": "Bob",
"last_name": "van der Valk",
"email": "[email protected]",
"password": "**********",
"location": null,
"title": null,
"description": null,
"tags": null,
"avatar": null,
"language": null,
"tfa_secret": null,
"status": "active",
"role": "61e3c3d0-40de-4d8e-83a1-1d06ef9bf5b1",
"token": "**********",
"last_access": "2025-06-25T15:46:37.105Z",
"last_page": "/users/4b77b701-f796-473f-aa3e-7e8604678acf",
"provider": "default",
"external_identifier": null,
"auth_data": null,
"email_notifications": true,
"appearance": null,
"theme_dark": null,
"theme_light": null,
"theme_light_overrides": null,
"theme_dark_overrides": null,
"organisation": "a1e4977f-71e6-4f2e-8120-67eb82e73f1f",
"policies": []
}
}