API to Update Call Transfer Intent Configuration
Call Transfer Intent Configuration API is used to configure the agent transfer phone number or SIP URL for a VA. Using this API, you can create or update the parameters that are required to be mapped to any "Agent_Transfer" Intent type for the given Virtual Agent.
Endpoint
Method: PUT
URL: https://uselfserve-<tenant-name>.uniphore.com/cse/virtualAgents/{vaName}/callTransferIntentConfig
curl -X PUT " https://uselfserve-<tenant-name>.uniphore.com/cse/virtualAgents/test/callTransferIntentConfig"
-H "accept: */*"
-H "Content-Type: application/json"
-d "{ \"callTransferId\": 0,
\"callTransferLink\": \"+919876543210\",
\"callTransferType\": \"phone\",
\"intentName\": \"Claim_Status\",
\"language\": \"English-US\",
\"role\": \"test\",
\"skillGroup\": \"claims\"}"curl -X PUT " https://uselfserve-<tenant-name>.uniphore.com/cse/virtualAgents/test/callTransferIntentConfig"
-H "accept: */*"
-H "Content-Type: application/json"
-d "{ \"callTransferId\": 0,
\"callTransferLink\": \"sip:+919876543210@sip.linephone.org\",
\"callTransferType\": \"sip\",
\"intentName\": \"Claim_Status\",
\"language\": \"English-US\",
\"role\": \"test\",
\"skillGroup\": \"claims\"}"curl -X PUT " https://uselfserve-<tenant-name>.uniphore.com/cse/virtualAgents/test/callTransferIntentConfig"
-H "accept: */*"
-H "Content-Type: application/json"
-d { "callTransferId": 0,
"language": "English-IN",
"intentName": "VA Agent Transfer",
"skillGroup": "Sip",
"callTransferType": "return to flow",
"callTransferLink": "FWe7e148f9121fc328da59c3baff749d2a?FlowEvent=return",
"role": "live"
}curl -X PUT " https://uselfserve-<tenant-name>.uniphore.com/cse/virtualAgents/test/callTransferIntentConfig"
-H "accept: */*"
-H "Content-Type: application/json"
-d "{ \"callTransferId\": 0,
\"callTransferType\": \"pullback\",
\"callTransferLink": "",
\"intentName\": \"Agent Transfer\",
\"language\": \"English-US\",
\"role\": \"test\",
\"skillGroup\": \""}"Header Parameter
Authorization - Bearer <Token>
Path Parameter
Parameter Name | Data Type | Description | Required / Optional |
|---|---|---|---|
| String | Name of the Virtual Agent | Required |
Request Parameter
Parameter Name | Data Type | Description | Required/ Optional |
|---|---|---|---|
| Integer | Auto-generated incremental number. | Not Applicable |
| String | The call transfer method.
Notereturn to flow is applicable for Twilio connector only. pullback is applicable for Twilio and UVC connectors. | Required |
| String | The phone number / link / flow id associated to the Call Transfer Type.
| Required |
| String | Name of the Intent that triggers the call transfer. The Intents with the Intent Type: Agent Transfer is only allowed. | Required |
| String | The language of the call. | Required |
| String | The role can be live or test. | Required |
| String | Name of the Skill Group. Example: Claims, Payments NoteIf | Required |
Example Request
{
"callTransferId": 0,
"callTransferLink": "+919876543210",
"callTransferType": "phone"
"intentName": "Claim_Status",
"language": "English-US",
"role": "test",
"skillGroup": "claims"
}{
"callTransferId": 0,
"callTransferLink": "sip:+919876543210@sip.linephone.org",
"callTransferType": "sip"
"intentName": "Claim_Status",
"language": "English-US",
"role": "test",
"skillGroup": "claims"
}{
"callTransferId": 0,
"callTransferLink": "FWe7e148f9121fc328da59c3baff749d2a?FlowEvent=return",
"callTransferType": "return to flow"
"intentName": "VA Agent Transfer",
"language": "English-IN",
"role": "test",
"skillGroup": "Sip"
}{
"callTransferId": 0,
"callTransferLink": "",
"callTransferType": "pullback"
"intentName": "Agent Transfer",
"language": "English-IN",
"role": "test",
"skillGroup": ""
}Example Response
{
"callTransferIntentConfigPojo": {
"callTransferId": 1,
"language": "English-US",
"intentName": "Claim_Status",
"skillGroup": "claims"
"callTransferType": "phone",
"callTransferLink": "+919876543210",
"role": "test"
}
}{
"callTransferIntentConfigPojo": {
"callTransferId": 1,
"language": "English-US",
"intentName": "Claim_Status",
"skillGroup": "claims"
"callTransferType": "Sip",
"callTransferLink": "sip:+919876543210@sip.linephone.org",
"role": "test"
}
}{
"callTransferIntentConfigPojo": {
"callTransferId": 1,
"language": "English-IN",
"intentName": "VA Agent Transfer",
"skillGroup": "claims"
"callTransferType": "return to flow",
"callTransferLink": "FWe7e148f9121fc328da59c3baff749d2a?FlowEvent=return",
"role": "test"
}
}{
"callTransferIntentConfigPojo": {
"callTransferId": 1,
"language": "English-IN",
"intentName": "Agent Transfer",
"skillGroup": ""
"callTransferType": "pullback",
"callTransferLink": "",
"role": "test"
}
}Response and Error Codes
Response Code | Condition |
|---|---|
200 | OK |
403 | Forbidden |
404 | Not found |
500 | Internal Sample Error |