Skip to main content
POST
/sip-trunk

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
trunk_name
string
required

Lowercase alphanumeric, 3-63 chars, no hyphens; the combined <domain>-<trunk_name> label must be <= 63 chars. Immutable after create.

Example:

"support"

room_template
object
required

Room-creation properties, passed to room create. An optional sip block (applied at dial-in start) may set display name, codecs, dialin_config, etc. Absolute exp/nbf are rejected - use trunk_config.exp_offset.

notification
object
required
description
string

Free text (max 2048). Echoed to your webhook as trunk.description.

trunk_config
object
enabled
boolean
default:true

Response

The created SIP trunk.

id
string
description
string
trunk_name
string
sip_uri
string
Example:

"sip:examplecorp-support.siptrunk.sip-us.daily.co"

enabled
boolean
config
object