v1

latestOpenAPI 3.0.32026-08-0670174396.8 KB
API Keys

Create API key

Creates a new API key. The token value is included in the response.

post/public/v1/accounts/tokens/

Request body

namestring

Human-readable label for the token, shown in the token list. May be blank.

scopesstring[]

Scopes to grant the token. Available value: all. Defaults to all if omitted.

Response

idinteger required

Unique identifier for the API key token.

namestring required

Human-readable label for the token.

scopesstring[] required

Scopes granted to the token.

activeboolean required

Whether the token is currently active.

expires_atstring date-time nullable

Expiration timestamp, or null if the token never expires.

tokenstring

The API key value used as the Bearer credential. Returned in full on every read.

created_atstring date-time required

When the token was created.

last_used_atstring date-time nullable

When the token was last used to authenticate a request, or null if never used.