Skip to main content
POST
Connect a SIP-trunk number
Connects a number you own at a carrier to Verbeo over SIP trunking: Verbeo sets up the trunks that carry the number’s inbound and outbound calls, then stores the number. It works with any carrier that gives you a SIP trunk — for Twilio Elastic SIP Trunking, Import a phone number from Twilio covers the carrier side.
Inbound calls arrive once your carrier sends the number’s calls to Verbeo’s origination URI, sip:1mq55afrqof.sip.livekit.cloud. That is set at the carrier, not through this API.

Body

string
required
The number in E.164 format — a +, the country code, the number: +14155550123. Spaces, dashes and brackets are accepted and removed. A number without its country code, or one that is not a real number, is rejected.
string
required
The host your carrier takes outbound calls on, optionally with a port: acme.pstn.twilio.com or sip.example.com:5061. No sip: or https:// in front. Up to 253 characters.
string
default:"tcp"
tcp, udp, tls or auto.
string
The trunk’s user name, if your carrier authenticates outbound calls with credentials. Up to 128 characters. Send it together with sip_password, or send neither.
string
The trunk’s password, stored as you send it. Up to 128 characters. Write-only: no endpoint returns it.
string
Your label for the number, up to 100 characters.
string
UUID of the assistant that answers calls to this number. Omit it and nobody answers until you set one.
string
UUID of the assistant that places calls from this number when a call names none.

Request

Response

201 Created with the phone number object. provider is livekit_sip.

Errors

Nothing is left behind when a request fails — a trunk that was created is removed again, so the same request can be sent once more.