List all personal access tokens

Returns a list of personal access tokens. The personal access tokens are returned sorted by creation date in ascending order.

GET/v3/personal-access-tokens
JWT

Parameters

NameTypeInDescription
pageintegerqueryThe page number.
limitintegerqueryThe number of records per page. Must be a number between 1 and 100.
sortstringqueryThe sort string to sort the returned records e.g. "-createdAt"
includearrayquery
searchstringquerySearch string.
idobjectqueryID of the resource.
createdAtobjectqueryDate of creation
updatedAtobjectqueryDate of last update

Responses

200 OK
[
  {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "expiresAt": "2019-08-24T14:15:22Z",
    "revoked": true,
    "scopes": [
      "string"
    ],
    "teamMemberId": "string",
    "teamMember": {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "firstName": "string",
      "lastName": "string",
      "email": "string",
      "role": "string",
      "twoFactorEnabled": true,
      "googleSsoEnabled": true,
      "lastLoginAt": "2019-08-24T14:15:22Z",
      "planId": "string",
      "emailPreference": {
        "metrics": true
      }
    },
    "lastUsedAt": "2019-08-24T14:15:22Z",
    "lastRotatedAt": "2019-08-24T14:15:22Z"
  }
]