Agent Chat APISet routing status

Status

Set routing status

Whether you take new chats.

You can set only your own status (agent_id is optional and must be yours).

POST/v1/agent/action/set_routing_status

Specifics

Method URLPOST https://app.staging.mlive.chat/v1/agent/action/set_routing_status
Who can call itBots, with a bot token (mlcb_).
WebSocket actionset_routing_status, the same call over an open socket

Request body

application/json

  • statusstringrequired

    One of accepting_chats, not_accepting_chats.
  • agent_idstring

    Your own ID.

Response

200 · application/json

OK.

Errors

  • default