Users

Get the personal access tokens for the authenticated user

Returns metadata for every personal-access token issued to the currently authenticated user. The raw token values are never returned by this endpoint — use the token IDs together with deletePersonalAccessToken to revoke a token, or createPersonalAccessToken to issue a new one.

get/personal-access-tokens

Response

A list of personal access tokens

idstring

Stable identifier for the personal-access token. Use this to revoke the token later via deletePersonalAccessToken. The ID is safe to log; the raw secret is only ever returned at creation as accessToken.

namestring required

A human-readable label for the token, used to distinguish it from other tokens issued to the same user.

created_atstring date-time

The date and time the personal access token was created.

Example response

[
  {
    "id": "27ebb191b5f4f2024b0c5671e580d6de2b03f6c48259753b01976807a14eb41e05f0b7def4593f5a",
    "name": "Salesforce",
    "created_at": "2019-01-15T11:00:00.000Z"
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.