Skip to main content
GET
/
v2
/
users
List Users
curl --request GET \
  --url https://public.api.serval.com/v2/users \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "email": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "name": "<string>",
      "role": "USER_ROLE_UNSPECIFIED",
      "avatarUrl": "<string>",
      "createdAt": "1s",
      "deactivatedAt": "1s"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
cursor
string
includeDeactivated
boolean

Response

Success

data
User · object[]
nextCursor
string | null
I