Accounts

Create a new personal access token

post/api/accounts/v1/tokens

Request

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

Changes

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