Agent Chat APITransfer a chat

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 URLPOST https://app.staging.mlive.chat/v1/agent/action/transfer_chat
Who can call itBots, with a bot token (mlcb_).

Request body

application/json

  • idstringrequired

    The chat ID.
  • targetobject

  • target.typestringrequired

    One of agent, group.
  • target.idsarray of stringrequired

    One agent ID, or one group ID (as a number or a numeric string). Up to 1 items.
  • ignore_agents_availabilityboolean

    Queue the chat when nobody in the group can take it now. Default false.

Response

200 · application/json

OK.

Errors

  • default