get
https://api.duodeal.app/api/users/
Retrieves a single user by ID. The caller must have permission to view the target user.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | User unique identifier |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | User unique identifier |
email | string | User email address |
firstName | string | User first name |
lastName | string | User last name |
fullName | string | Concatenated first and last name |
active | boolean | Whether the account is active |
invitePending | boolean | true if the user has not yet accepted their invitation |
company | object | Company the user belongs to |
userGroup | object | User group with inherited permissions |
avatar | string | Avatar image URL |
phone | string | Phone number |
jobTitle | string | Job title |
language | string | Preferred locale (e.g. en, fr) |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
200 OK: Returns the user401 Unauthorized: Invalid or missing API key403 Forbidden: Not allowed to view this user404 Not Found: User not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
