Enable calling on a number
Deprecated alias of /v1/phone-numbers/{id}/whatsapp/calling; same contract. New
integrations should use that path.
Enable WhatsApp Business Calling on a connected number. Configures Meta calling.status=ENABLED with our Telnyx SIP endpoint, fetches and stores the Meta-issued SIP password (encrypted), and snapshots the customer's forward-to destination.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
WhatsAppPhoneNumber Mongo ID
tel:+E164 / sip:... / wss://... destination
Stored encrypted, never returned by any endpoint.
falseResponse Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappcalling.enableWhatsAppCallingLegacy({ path: { id: 'abc123', }, body: { accountId: 'account_abc123', forwardTo: 'string', },});console.log(data);{
"success": true,
"callingEnabled": true,
"sipHostname": "string",
"forwardTo": "string"
}{
"error": "Unauthorized"
}Disable calling on a number DELETE
Deprecated alias of `/v1/phone-numbers/{id}/whatsapp/calling`; same contract. New integrations should use that path. Disable calling. Sends calling.status=DISABLED to Meta (best-effort) and flips the local `callingEnabled` flag off. forwardTo and SIP creds are preserved so a re-enable does not lose the destination.
Get username suggestions GET
Retrieve a list of available WhatsApp Business username suggestions based on the account's business profile name. Use these to help users discover valid, unclaimed usernames.