API Reference//
API
/- Transfer to Human Agent (Group Chat)
Transfer to Human Agent (1:1 Chat)
Assign Human Agent
Close Conversation Manually
List Conversations
Update Conversation
Transfer to Human Agent (...
Parameter rules:
- Provide at least one of
dialogId,groupId, orexternalGroupIdto identify the group. - Provide
visitorIdto transfer a single contact to a human agent. - Provide
visitorIdtogether withtransferAccountIdto transfer a single contact and limit the handoff to one or more managed accounts in the list. visitorIdandimBotIdcannot be provided together.- Provide only
imBotIdto transfer a managed account to a human agent. participantIdis not required. The API automatically resolves the corresponding group participant.
Security
bearerAuth
Any of:
Internal contact ID. When provided, transfers that contact to a human agent.
string
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
- Mock serverhttps://threechatai.redocly.app/_mock/apis/3chat-api/api/butler/open/v2/group/transferToHuman
- 3Chat production serverhttps://app.3chat.ai/api/butler/open/v2/group/transferToHuman
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"
}'Response
{ "code": 200, "data": { "groupId": "group_xxx", "participantId": "participant_xxx", "transferMode": "CONTACT_LEVEL" } }