Call Commands
SIP Refer a call
Initiate a SIP Refer on a Call Control call. You can initiate a SIP Refer at any point in the duration of a call.
Expected Webhooks:
- call.refer.started
- call.refer.completed
- call.refer.failed
post/calls/{call_control_id}/actions/refer
Request
- Base URLhttps://api.telnyx.com/v2
- URLhttps://api.telnyx.com/v2/calls/{call_control_id}/actions/refer
- AuthHTTP bearer
Path parameters
call_control_idstring required
Unique identifier and token for controlling the call
Request body
Example request
{
"sip_address": "sip:username@sip.non-telnyx-address.com"
}Response
Successful response upon making a call control command.
Example response
{
"data": {
"result": "ok"
}
}Changes
No recorded changes to this operation across all 89 revisions of this API.