Get calling config for a number
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, and additionally carries account-level
extras (billing eligibility, current-period spend).
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Phone number record ID (from GET /v1/phone-numbers).
Response 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.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"}Estimate per-minute cost
Returns a zero-markup estimated cost for an outbound call to the given destination, broken down by Meta + Telnyx + recording line items. Costs are pass-through, no margin applied.
Get a call recording
Resolves a fresh, playable MP3 URL for the call's recording. Provider-signed recording URLs expire ~10 minutes after signing, so the `recordingUrl` stored on the call is usually stale by the time it is played; this endpoint re-signs on demand. Default responds `302 Found` redirecting to the fresh URL (point an `<audio>` element or a link straight at this endpoint); pass `as=json` to receive `{ url }` instead.