Skip to main content
POST
Get an access token

Headers

Origin
string | null
X-Forwarded-For
string | null

Body

application/json

The body is of type Body · object.

Response

Successful Response

Successful token response (RFC 6749 §5.1), extended with the agent and organization behind the exchanged key. Send the token as Authorization: Bearer <access_token>; agent_id is the agent your messaging calls run against (null when the key carries no agent).

access_token
string
required
expires_in
integer
required
token_type
string
default:Bearer
agent_id
string | null
organization_id
string | null