v5

latestOpenAPI 3.1.02026-07-31151195455.5 KB
tokens

Get tokens

Returns a list of first-party API tokens for your organization. Requires admin access.

get/tokens

Query parameters

cursorstring

The pagination cursor value.

page_sizeinteger

Number of results to return per page. Default is 200.

token_idsstring[]

Filter by token IDs.

user_idstring uuid

Filter by user ID.

Response

A list of API tokens for your organization.

nextstring nullable

The cursor with which to continue pagination if additional result pages exist.

previousstring nullable

The cursor used to obtain the current result page.

Example response

{
  "next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
  "previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
  "results": [
    {
      "token_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
      "created_at": "2022-01-23T04:56:07Z",
      "token_label": "My API Token",
      "creator_user_id": "d4a7d928-783e-4599-8ec6-088d635a5bcc",
      "user_id": "d4a7d928-783e-4599-8ec6-088d635a5bcc",
      "access_level": "READ_ONLY"
    }
  ]
}