GET
/
user
curl --request GET \
  --url https://api.loccus.ai/v1/user \
  --header 'Authorization: Bearer <token>'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "handle": "user-a",
  "alias": "User A",
  "email": "user.a@email.com",
  "state": "verified",
  "orgs": 10,
  "spaces": 10,
  "createdAt": "2023-01-01T00:00:00.000000Z"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
id
string
required

The UUID of the user. Is unique.

handle
string
required

The handle of the user. Is unique.

alias
string | null
required

The alias of the user.

email
string
required

The email of the user. Is unique.

state
enum<string>
required

The state of the user.

Available options:
verified,
unverified,
blocked
orgs
integer
required

The number of organizations of the user.

spaces
integer
required

The number of spaces of the user.

createdAt
string
required

The date and time when the user was created.