Skip to main content
GET
/
api
/
users
/
{id}
Retrieve user
curl --request GET \
  --url http://localhost/api/api/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "name": "<string>",
  "email": "jsmith@example.com",
  "is_active": true,
  "groups": [
    123
  ],
  "permissions": [
    123
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cynopsis.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Path Parameters

id
integer
required

A unique integer value identifying this user.

Response

200 - application/json

Successful Response

User object with all details

id
integer
required

User ID

name
string
required

User full name

email
string<email>
required

User email address

is_active
boolean
required

Whether the user is active

groups
integer[]

List of group IDs

permissions
integer[]

List of permission IDs

created_at
string<date-time>

User creation timestamp

updated_at
string<date-time>

User last update timestamp