v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Access tokens

List access tokens

Fetch a list of all access tokens.

get/api/v2/tokens

Query parameters

showAllboolean

If set to true, and the authentication access token has the 'Admin' role, personal access tokens for all members will be retrieved.

If set to true, and the authentication access token has the 'Admin' role, personal access tokens for all members will be retrieved.

limitinteger

The number of access tokens to return in the response. Defaults to 25.

The number of access tokens to return in the response. Defaults to 25.

offsetinteger

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

Response

Access tokens collection response

_linksobject
totalCountinteger

The number of access tokens returned

Example response

{
  "items": [
    {
      "_member": {
        "_links": {
          "self": {
            "href": "/api/v2/members/569f183514f4432160000007",
            "type": "application/json"
          }
        },
        "_id": "569f183514f4432160000007",
        "firstName": "Ariel",
        "lastName": "Flores",
        "role": "admin",
        "email": "ariel@acme.com"
      },
      "name": "Example reader token",
      "description": "A reader token used in testing and examples",
      "customRoleIds": [],
      "inlineRole": [],
      "role": "reader",
      "token": "1234",
      "_links": {
        "parent": {
          "href": "/api/v2/tokens",
          "type": "application/json"
        },
        "self": {
          "href": "/api/v2/tokens/61095542756dba551110ae21",
          "type": "application/json"
        }
      },
      "defaultApiVersion": 20240415
    }
  ]
}