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>"
}
]
}Creates a new SIP trunk pair (inbound and outbound) with the specified phone numbers
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>"
}
]
}Organization ID
SIP trunk creation request