developer

List your personal access tokens

Returns all non-revoked PATs for the authenticated user across all organizations. JWT only - PATs cannot list tokens.

get/api-tokens

Request

  • Base URL: https://api.onplana.com/api
  • URL: https://api.onplana.com/api/api-tokens
  • Auth: HTTP bearer

Response

Array of token records (no secrets)

idstring uuid required
namestring required

Human-readable label for this token

tokenPrefixstring required

First 12 chars of the token (e.g. "pat_AbCdEfGh") - safe to display

scopesstring[] required
organizationIdstring uuid required
orgPlanstring

Plan snapshot at creation time

expiresAtstring date-time nullable
lastUsedAtstring date-time nullable
createdAtstring date-time required

Changes

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