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.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Query Parameters
Response Body
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappcalling.disableWhatsAppCalling({ path: { id: 'abc123', }, query: { accountId: 'account_abc123', },});console.log(data);{
"error": "Unauthorized"
}Update calling config PATCH
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.
Check call permission GET
Returns the permission state and the list of available actions for a given consumer wa_id (e.g. `start_call`, `send_call_permission_request`). Use this before placing a call to decide whether to prompt for consent first.