Voice / Operations
Transfer a call
Transfer an in-progress call to a new destination — a phone number (pstn) or a SIP URI (sip). Only cold transfers are currently supported. A call can have only one transfer in flight at a time.
The transfer is accepted asynchronously; a 202 means it has been started, not that the target has answered.
post/api/v1/voice/calls/{call_id}/transfer
Request
- Base URL: https://api.frejun.ai
- URL: https://api.frejun.ai/api/v1/voice/calls/{call_id}/transfer
- Auth: API key in header x-api-key
Path parameters
call_idstring required
Request body
Example request
{
"mode": "cold",
"target": {
"kind": "pstn",
"number": "+14155559876"
},
"timeout": 30
}Response
The transfer was accepted and is being placed.
Example response
{
"call_id": "cs_01JQ8Z9K7M3N2P4R5S6T7V8W9X",
"id": "op_01JQ8Z9K7M3N2P4R5S6T7V8WOP",
"mode": "cold",
"request_id": "req_9f8e7d6c5b4a3f2e1d0c9b8a",
"status": "initiated"
}Changes
No recorded changes to this operation across all 1 revision of this API.