Skip to content

Transfer to Human Agent (Group Chat)

Request

Parameter rules:

  • Provide at least one of dialogId, groupId, or externalGroupId to identify the group.
  • Provide visitorId to transfer a single contact to a human agent.
  • Provide visitorId together with transferAccountId to transfer a single contact and limit the handoff to one or more managed accounts in the list.
  • visitorId and imBotId cannot be provided together.
  • Provide only imBotId to transfer a managed account to a human agent.
  • participantId is not required. The API automatically resolves the corresponding group participant.
Security
bearerAuth
Bodyapplication/jsonrequired
dialogIdstring or null
Any of:

Group dialog ID

string
groupIdstring or null
Any of:

Internal group ID

string
externalGroupIdstring or null
Any of:

Chatly external group ID

string
visitorIdstring or null
Any of:

Internal contact ID. When provided, transfers that contact to a human agent.

string
transferAccountIdstring or null
Any of:

List of managed-account IDs allowed for a single-contact handoff. May be provided only together with visitorId. If omitted, the contact is transferred to a human agent for all managed accounts in the group.

string
imBotIdstring or null
Any of:

Chatly managed-account ID. Used only when transferring a managed account to a human agent.

string
curl -i -X POST \
  https://threechatai.redocly.app/_mock/apis/3chat-api/api/butler/open/v2/group/transferToHuman \
  -H 'Authorization: Bearer <YOUR_Access Token_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "dialogId": "string",
    "groupId": "string",
    "externalGroupId": "string",
    "visitorId": "string",
    "transferAccountId": "string",
    "imBotId": "string"
  }'

Responses

Headers
any
Bodyapplication/json
codeintegerrequired

Status code: 200 = success; 400 = invalid parameters; 500 = server error.

dataobjectrequired
Response
{ "code": 200, "data": { "groupId": "group_xxx", "participantId": "participant_xxx", "transferMode": "CONTACT_LEVEL" } }