latestOpenAPI 3.1.0Proprietary2026-08-175035117.5 KB

019f79ecdd6c

Tokens

Create a token

Creates an API Access Token.

Each grant ties a connection to a source — a fully qualified table name, a SQL query, or * for everything reachable through that connection. Keep grants as narrow as your application allows.

post/v3/tokens

Request body

allowed_apisTokenAllowedApi[] required

Which APIs this token can call.

referersstring[]

Restrict use of the token to these HTTP referers. Empty means any.

namestring

A name for the token. Generated if omitted.

expiration_datestring date-time

When the token stops working. Must be in the future. Omit for a token that never expires. Can only be set at creation.

Response

The token was created.

tokenstring

The token to send in the Authorization header.

allowed_apisTokenAllowedApi[]
referersstring[] nullable
namestring
user_idstring nullable
account_idstring
created_atstring date-time
updated_atstring date-time
expiration_datestring date-time nullable