Voice

Create a SIP trunk

Creates a SIP trunk an external voice platform (Retell, ElevenLabs, Vapi, or any SIP endpoint) can import your Zernio numbers into. The trunk carries both directions: inbound calls on attached numbers are delivered to sipHost, and the platform originates outbound calls through termination.uri with the digest credentials.

The digestPassword is returned only by this call (and by rotate-credentials); store it immediately. Attach any number of numbers to a trunk. Several trunks may point at the same host — each carries its own credentials and spend cap, so separate destination workspaces (e.g. an agency's clients) stay isolated.

post/v1/phone-numbers/sip-trunks

Request body

labelstring required

Display name for the trunk.

sipHoststring required

Fully-qualified hostname inbound calls are delivered to (e.g. sip.rtc.elevenlabs.io, sip.retellai.com).

sipPortinteger

Defaults to 5061 for tls, 5060 otherwise.

transport'tls' | 'tcp' | 'udp'

Signaling transport toward sipHost. Default tls (with SRTP media).

Response

Trunk created. The digest password is shown only here and on rotate.

idstring
labelstring
sipHoststring
sipPortinteger
transport'tls' | 'tcp' | 'udp'
numbersAttachedinteger
createdAtstring date-time nullable
digestPasswordstring

SIP digest password, shown only in this response.