OverviewProductsPlatformsAPI ReferenceResources
Voice & Calling

Blind-transfer a live call

POSThttps://zernio.com/api/v1/voice/calls/{id}/transfer

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

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

idstringRequired

Body

application/json

What every request needs

tostringRequired

+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

POST/v1/voice/calls/{id}/transfer
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.voice.transferVoiceCall({  path: {    id: 'abc123',  },  body: {    to: 'string',  },});console.log(data);
{  "success": true,  "callId": "string",  "transferredTo": "string"}
OpenAPI specification
Was this page helpful?