The Refer Call API allows you to return calls to the customer’s telephone system after the routing plan has been run through on the TENIOS Cloud Communications platform.
Initiate Refer call :
Initiate refer call.
POST | https://api.tenios.com/refer-call |
Request Parameter:
access_key | The API Access Key. It can be found in the menu MY ACCOUNT–>General Settings in the section API in the customer portal. |
call_uuid | The uuid of the call which should be transferred. |
sip_uri | The sip uri which will be put into the the Refer-To header in the related REFER message. |
Request Parameter:
success boolean |
true if successful, otherwise an error message |
Examples of correct requests:
Request:
{ "access_key":"XXXXX-XXXX-XXXXXX", "call_uuid":"XXXXX-XXXX-XXXXXX", "sip_uri" : "sip:4044@8.8.8.8:5060;user=phone" }
API Response:
HTTP Status Code: 200 (OK)
{ "success": true }