Users
Get user by ID
Retrieves a single user by their numeric ID. Super-admins can access any user; regular users can only access users within their organization (or their own record).
get/users/{id}
Path parameters
idinteger required
User ID
Response
User found
Example response
{
"message": "OK",
"data": {
"id": 1,
"name": "John",
"surname": "Doe",
"email": "john@example.com",
"role_id": 1,
"organization_id": 1
}
}