Skip to main content
POST
Issue bot token
Required scopes: accounts--my:ro

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
bot_id
string
required

The bot ID.

client_id
string
required

The client ID.

bot_secret
string
required

The bot secret.

organization_id
string
required

The organization ID.

Response

200 - application/json

A bot token.

token
string

A JWT bot token valid for 24 hours.