Update calling config
Update fields on an already-enabled number. Only fields present in
the body are written; undefined leaves the stored value alone,
explicit null clears a nullable field. No Meta side effect, this
only changes local routing state consumed by the Telnyx webhook
handler.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappcalling.updateWhatsAppCalling({ path: { id: 'abc123', }, body: { accountId: 'account_abc123', },});console.log(data);Enable calling on a number
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.
Disable calling on a number
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.