Skip to main content
POST
Issue a new access token.

Access token concepts

Review token scopes, permissions, expiry, and revocation behavior.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Body

application/json
id
string
required

Access token ID. It must be unique to the account and between 1 and 96 bytes in length.

Required string length: 1 - 96
scope
object
required

Access token scope.

auto_prefix_streams
boolean
default:false

Namespace streams based on the configured stream-level scope, which must be a prefix. Stream name arguments will be automatically prefixed, and the prefix will be stripped when listing streams.

expires_at
string<date-time> | null

Expiration time in RFC 3339 format. If not set, the expiration will be set to that of the requestor's token.

Response

access_token
string
required

Created access token.