v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
WhatsApp Calling

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.

patch/v1/phone-numbers/{id}/whatsapp/calling

Path parameters

idstring required

Request body

accountIdstring required
forwardTostring
sipAuthUsernamestring nullable
sipAuthPasswordstring nullable
recordingEnabledboolean
callIconCountriesstring[] nullable
maxCallDurationSecondsinteger nullable

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

forwardCallerId'business' | 'caller'

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

Response

Updated