Chats
Deactivate a chat
Closes the chat's open thread.
The assignee (a bot: only its own chats) or an admin may close it.
POST/v1/agent/action/deactivate_chat
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/agent/action/deactivate_chat |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_). |
Request body
application/json
idstringrequiredThe chat ID.
Response
200 · application/json
OK.
Errors
- default
Nothing found. Try a method name, such as send event.