users

Read User

Get user by ID. Users can access their own data or data within the same account.

get/api/v1/users/{user_id}

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/users/{user_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Path parameters

user_idinteger required

Response

Successful Response

emailstring email required

User email address

idinteger required

User ID

rolesstring[]

User roles

is_verifiedboolean

Whether the user has verified their email address (soft-gate driver).

created_atstring date-time required

Creation timestamp

updated_atstring date-time nullable

Last update timestamp

Example response

{
  "email": "user@example.com",
  "id": 1,
  "roles": [
    "user"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.