Skip to main content
POST
Mints a short-lived token for authorizing an embedded chat session.

Authorizations

Authorization
string
header
required

An API key from Organization Settings > API Keys.

Body

application/json
deployment_key
string
required
expires_in_seconds
integer

Token lifetime. Defaults to and is capped at 3600 seconds; expires_at reports the actual expiry.

Required range: x <= 9007199254740991

Response

Successful response

token
string
required
expires_at
string
required