OverviewPlatformsAPI ReferenceResources
WhatsApp

Update calling config

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

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.

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

idstringRequired

Body

application/json

What every request needs

accountIdstringRequired
Optional parameters7 fields
forwardTostring
sipAuthUsernamestring or null
sipAuthPasswordstring or null
recordingEnabledboolean
callIconCountriesarray or null
maxCallDurationSecondsinteger or null

Hard cap (seconds) on forwarded calls; null clears the cap.

forwardCallerIdstringOne of business | caller

caller = present the WhatsApp user's number to the forward destination (sip: only).

Responses

Success· the request worked

Errors· the request failed

PATCH/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.updateWhatsAppCalling({  path: {    id: 'abc123',  },  body: {    accountId: 'account_abc123',  },});console.log(data);

The spec has no example for this status yet.

OpenAPI specification
Was this page helpful?