Voice

Attach a number to a SIP trunk

Routes the number's calls to the trunk: the external platform receives its inbound directly and can present it as outbound caller ID. While attached, Zernio-side voice features are off for this number (call forwarding, IVR, voicemail, recording, the softphone, and WhatsApp calling), so the number must have Calls and WhatsApp calling disabled before attaching. SMS and WhatsApp messaging are unaffected.

post/v1/phone-numbers/{id}/sip-trunk

Path parameters

idstring required

Phone number record ID (from GET /v1/phone-numbers).

Request body

trunkIdstring required

SIP trunk ID (from POST /v1/phone-numbers/sip-trunks).

Response

Number attached (idempotent for the same trunk).

attachedboolean
phoneNumberstring
trunkIdstring