List users

GET/users

Returns the users of the account, using cursor-based pagination.

The collection can be filtered by a search term matched against name and email (q), by external_id, by tag (tag_id[], which matches users with any of the given tags), by status (active means the user accessed the platform in the last 30 days), by access (the same value returned in each user), and by creation date range (created_after, created_before). Users in the trash are excluded by default; set deleted=true to list only users in the trash. Filtering by access=none without deleted lists the users in the trash.

The document and phone fields are returned only when the credentials have the users.read_personal permission.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Query Parameters

limit?integer
Range1 <= value <= 200
cursor?string
q?string
external_id?string
deleted?boolean
tag_id[]?array<string>
status?string

Value in

  • "active"
  • "inactive"
access?string

Value in

  • "granted"
  • "none"
created_after?string
Formatdate-time
created_before?string
Formatdate-time

Header Parameters

X-Client-Request-Id?string

Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.

Lengthlength <= 64

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users"
{  "data": [    {      "access": "granted",      "created_at": "2019-08-24T14:15:22Z",      "deleted": true,      "document": "string",      "email": "user@example.com",      "external_id": "string",      "id": "string",      "name": "string",      "object": "user",      "phone": "string",      "revision": "string",      "status": "active",      "tags": [        "string"      ],      "updated_at": "2019-08-24T14:15:22Z"    }  ]}