Skip to main content
POST
Create SIP trunk

Authorizations

X-API-KEY
string
header
required

Body

application/json
name
string
required

Display name for the trunk.

sip_address
string
required

SIP host/address for the trunk.

numbers
string[]
required

Non-empty list of E.164 numbers to register on this trunk.

Minimum array length: 1
sip_transport
enum<string>
default:auto

SIP transport.

Available options:
auto,
udp,
tcp,
tls
auth_username
string

SIP auth username. Required when auth_password is set.

auth_password
string
write-only

SIP auth password. Write-only — handed to LiveKit and never persisted or returned (only last 4 digits are stored). Requires auth_username.

outbound_enabled
boolean
default:true

Enable the numbers for outbound caller ID.

inbound_enabled
boolean
default:false

Enable inbound answering. When true, inbound is provisioned immediately using the supplied password (which is never stored).

provider
string

Carrier/provider label.

Response

Trunk created with its registered numbers. Note the response never echoes the password — only auth_password_last4.