Blind-transfer a live call
Moves the call's current leg to a new destination (a phone number or a SIP endpoint).
This is a BLIND transfer: control of the leg is handed off and the call ends normally when the transferred leg hangs up. The caller ID presented on the transfer leg is always your own number.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Body
application/jsonWhat every request needs
+E164 phone number (tel: prefix optional) or a sip: URI. wss:// is not a valid transfer target.
Responses
Success· the request worked
Errors· the request failed
Hang up a live call
Hangs up a live call on demand, including an outbound call that is still ringing and has not been answered yet (the callee stops ringing immediately). ### Supported calls - PSTN calls. - WhatsApp calls: the `callId` returned by `POST /v1/whatsapp/calls`, or an inbound WhatsApp call id. A WhatsApp call forwarded to a `wss://` destination also ends automatically when that WebSocket closes. ### Idempotency and timing Idempotent: ending a call that already ended (or never connected) returns success with the call's current status. Final duration/cost are written asynchronously when the hangup event lands, so the call doc may briefly still show its prior status.
Get a call recording
Resolves a fresh, playable MP3 URL for the call's recording (provider-signed URLs expire ~10 minutes after signing, so this endpoint re-signs on demand). Default responds `302 Found` redirecting to the fresh URL; pass `as=json` to receive `{ url }` instead.