dialin

Create a SIP trunk for your domain. Returns the sip_uri to point your carrier at, plus the generated hmac. notification.webhook_url is required and must be LIVE: create sends a signed one-shot sip_trunk.test POST that must return 2xx, or the create fails with 400. A trunk must be gated by allowed_ips/credential or explicitly is_open: true.

post/sip-trunk

Request

  • Base URL
    https://api.daily.co/v1
  • Auth
    HTTP bearer

Request body

trunk_namestring required

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

descriptionstring

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

room_templateobject required

Room-creation properties, passed to room create. An optional sip block (applied at dial-in start) may set display name, codecs, video_settings, dialin_config, etc. Trunk rooms always use the Daily SIP provider, so sip.provider, if set, must be "daily". Absolute exp/nbf are rejected - use trunk_config.exp_offset.

enabledboolean

Example request

{
  "trunk_name": "support"
}

Response

The created SIP trunk.

idstring
descriptionstring
trunk_namestring
sip_uristring
enabledboolean
configobject

Example response

{
  "sip_uri": "sip:examplecorp-support.siptrunk.sip-us.daily.co"
}

Changes