v1

latestOpenAPI 3.0.02026-07-1339031.2 KB
Accounts

Create a new personal access token

post/api/accounts/v1/tokens

Request body

labelstring
scopesstring[]

Scope ids to grant. Must be a subset of the registry at /scopes.

durationDaysinteger nullable

PAT lifetime in days, between 1 and 365. Pass null to create a token with no expiration (discouraged - surface a UI warning).

Example request

{
  "label": "My laptop MCP",
  "scopes": [
    "read:account"
  ],
  "durationDays": 30
}

Response

Personal access token created