Skip to main content
POST
/
org
/
{org_id}
/
sip-trunks
Create SIP trunk
curl --request POST \
  --url https://v2-nova-api.prod.czmx.in/org/{org_id}/sip-trunks \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "name": "<string>",
  "phone_numbers": [
    "<string>"
  ],
  "provider": "twilio",
  "auth_password": "<string>",
  "auth_username": "<string>",
  "max_concurrency": 123
}
'
{
  "inbound_trunk": {
    "id": "<string>",
    "is_active": true,
    "max_concurrency": 123,
    "name": "<string>",
    "phone_count": 123,
    "provider": "<string>",
    "type": "<string>"
  },
  "outbound_trunk": {
    "id": "<string>",
    "is_active": true,
    "max_concurrency": 123,
    "name": "<string>",
    "phone_count": 123,
    "provider": "<string>",
    "type": "<string>"
  },
  "phone_numbers": [
    {
      "id": "<string>",
      "is_verified": true,
      "label": "<string>",
      "number": "<string>",
      "provider": "<string>",
      "sip_trunk_id": "<string>",
      "trunk_name": "<string>"
    }
  ]
}

Path Parameters

org_id
string
required

Organization ID

Body

application/json

SIP trunk creation request

address
string
required
name
string
required
phone_numbers
string[]
required
Minimum array length: 1
provider
enum<string>
required
Available options:
twilio,
telnyx,
custom,
did-logic,
vonage,
other
auth_password
string
auth_username
string
max_concurrency
integer

Response

Created

inbound_trunk
object
outbound_trunk
object
phone_numbers
object[]