Skip to main content
POST
Set routing status
Required scopes: For agents: or . For bot agents: or

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
status
string
required

The routing status to set. For agents: accepting_chats or not_accepting_chats. For bot agents: accepting_chats, not_accepting_chats, or offline.

agent_id
string

The agent ID. If not specified, the requester's status will be updated.

Response

200

Routing status set.