Chat access
Transfer a chat
Hands the chat to another agent or group.
Without target it is transferred within its current group. One target ID per call.
POST/v1/agent/action/transfer_chat
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/agent/action/transfer_chat |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_). |
Request body
application/json
idstringrequiredThe chat ID.targetobjecttarget.typestringrequiredOne ofagent,group.target.idsarray of stringrequiredOne agent ID, or one group ID (as a number or a numeric string). Up to 1 items.ignore_agents_availabilitybooleanQueue the chat when nobody in the group can take it now. Defaultfalse.
Response
200 · application/json
OK.
Errors
- default
Nothing found. Try a method name, such as send event.