Get SIP Trunk
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Response
Prefixed wire identifier (trunk_<26 char Crockford base32>).
ADR 0015 Cluster 3 hard-break: URL paths accept only this
prefixed form; legacy UUID path parameters are rejected with
404 as of Cluster 3.
Human-readable name.
Where the trunk came from. Informs the provisioning path and portability story.
livekit- Provisioned by LiveKit’s native phone-number API.twilio- Backed by a Twilio Elastic SIP Trunk on the customer’s account.byoc- Any SIP provider with a customer-managed trunk.
Whether the trunk handles inbound calls, outbound calls, or both.
A both trunk has distinct LiveKit inbound and outbound trunk IDs.
IP address / CIDR allowlist for inbound SIP connections.
SIP transport protocol. auto lets LiveKit negotiate. Use tls
for production where available - note that TLS is incompatible
with SIP REFER (cold transfer). Trunks that need transfer_to_number
should use udp or tcp.
SRTP media encryption policy.
disable- Unencrypted media only.allow- Negotiate SRTP; fall back to unencrypted. Recommended default.require- Reject calls that do not support SRTP.
LiveKit’s inbound trunk ID (present when direction is inbound or both).
LiveKit’s outbound trunk ID (present when direction is outbound or both).
SIP endpoint hostname (e.g. sip.telnyx.com). Required for kind=byoc.
ISO 3166-1 alpha-2 country code for the outbound dial plan
(e.g. US, DE). Required for international outbound on
some carriers.