Skip to main content
POST
/
sip
/
tenants
/
{tenant_id}
/
sip-trunks
/
outbound
Create Outbound Trunk
curl --request POST \
  --url https://api.example.com/sip/tenants/{tenant_id}/sip-trunks/outbound \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "trunk_type": "<string>",
  "sip_uri": "<string>",
  "phone_numbers": [
    "<string>"
  ],
  "provider": "<string>",
  "auth_username": "<string>",
  "auth_password": "<string>",
  "provider_config": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

tenant_id
string<uuid>
required

Body

application/json

SIP trunk creation model.

name
string
required
Required string length: 1 - 255
trunk_type
string
required
Pattern: ^(inbound|outbound)$
sip_uri
string
required
Minimum string length: 1
phone_numbers
string[]
provider
string | null
auth_username
string | null
auth_password
string | null
provider_config
Provider Config · object

Response

Successful Response