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 URL | POST https://app.staging.mlive.chat/v1/agent/action/set_routing_status |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_). |
| WebSocket action | set_routing_status, the same call over an open socket |
Request body
application/json
statusstringrequiredOne ofaccepting_chats,not_accepting_chats.agent_idstringYour own ID.
Response
200 · application/json
OK.
Errors
- default
Nothing found. Try a method name, such as send event.