v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01703301564.3 KB
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

messagestring

Example response

{
  "message": "OK",
  "data": {
    "id": 1,
    "name": "John",
    "surname": "Doe",
    "email": "john@example.com",
    "role_id": 1,
    "organization_id": 1
  }
}