Hands off a conversation to a human agent.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:TakeoverAIAgentCall |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The ID of the AI agent that will be taken over. |
39f8e0bc005e4f309379701645f4**** |
| HumanAgentUserId |
string |
No |
The ID of the human agent that will take over the AI agent (UserId in ARTC). If you do not specify this parameter, it is automatically generated and returned. |
uid2 |
| RequireToken |
boolean |
No |
Specifies whether to return the ARTC token. Default value: false. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
******3B-0E1A-586A-AC29-742247****** |
| ChannelId |
string |
The ID of the ARTC channel. |
70f22d5784194938a7e387052f2b3208 |
| HumanAgentUserId |
string |
The ID of the human agent. |
uid2 |
| Token |
string |
The ARTC token. |
eyJhcHBpZCI6ICIxMjM0MTIzNxxxxx |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"ChannelId": "70f22d5784194938a7e387052f2b3208",
"HumanAgentUserId": "uid2",
"Token": "eyJhcHBpZCI6ICIxMjM0MTIzNxxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.