OverviewPlatformsAPI ReferenceResources
WhatsApp

Get calling config for a number

GEThttps://zernio.com/api/v1/phone-numbers/{id}/whatsapp/calling

The WhatsApp Business Calling configuration of this number, keyed the same way as the POST/PATCH/DELETE below (full read-write on one sub-resource).

Encrypted secrets are never returned; only a boolean saying whether a SIP password is stored.

The account-scoped read (GET /v1/whatsapp/calling?accountId=) remains for callers that only know the account id. It additionally carries account-level extras (billing eligibility, current-period spend).

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

idstringRequired

Phone number record ID (from GET /v1/phone-numbers).

Responses

Success· the request worked

Errors· the request failed

GET/v1/phone-numbers/{id}/whatsapp/calling
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappcalling.getWhatsAppCalling({  path: {    id: 'abc123',  },});console.log(data);
{  "phoneNumber": "string",  "callingEnabled": true,  "callDeepLink": "string",  "forwardTo": "string",  "recordingEnabled": true,  "sipAuthUsername": "string",  "sipAuthPasswordConfigured": true,  "callIconCountries": [    "st"  ],  "outboundDisabled": true,  "callerIdMode": "business",  "callerIdVerified": true,  "maxCallDurationSeconds": 0,  "forwardCallerId": "business"}
OpenAPI specification
Was this page helpful?