Skip to main content
POST
Issue a new personal access token for the caller's org. Returns the plaintext token once

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Maximum string length: 100
scopes
enum<string>[]
required
Minimum array length: 1
Available options:
ai:chat,
ai:documents,
ai:embeddings,
ai:summarize,
control:read,
control:webhooks,
control:integrations,
org.end_users.read,
control:author,
control:workflows,
knowledge:read

Response

The newly issued API key, including the one-time plaintext secret.

success
boolean
required
data
any[]
required