Create a new SIP trunk for inbound or outbound calling.
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/trunks \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "My Outbound Trunk",
"trunk_type": "OUTBOUND",
"max_concurrent_calls": 10
}
'{
"trunk_id": "<string>",
"account_id": "<string>",
"name": "<string>",
"trunk_domain": "<string>",
"trunk_status": "<string>",
"secure": true,
"trunk_direction": "<string>",
"concurrent_calls_limit": 123,
"cps_limit": 123,
"description": "<string>",
"transport": "<string>",
"recording": true,
"enable_transcription": true,
"pii_redaction": true,
"webhook_method": "<string>",
"recording_webhook_enabled": true,
"created_at": "<string>",
"updated_at": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
POST https://api.vobiz.ai/api/v1/account/{auth_id}/trunks
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/jsontrunk_id.sip.vobiz.ai. This domain is used for routing inbound calls to your trunk.| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Descriptive name for the trunk. Maximum 255 characters. |
trunk_status | string | No | Status of the trunk. e.g. enabled, disabled. |
secure | boolean | No | Whether the trunk uses TLS/SRTP. |
trunk_direction | string | No | Direction of calls. e.g. outbound, both. |
trunk_domain | string | No | SIP domain for the trunk. |
concurrent_calls_limit | integer | No | Maximum number of concurrent calls allowed. |
cps_limit | integer | No | Calls-per-second limit. |
transport | string | No | Transport protocol. Values: udp, tcp. |
ipacl_uuid | string | No | UUID of the IP ACL to associate with this trunk. |
credential_uuid | string | No | UUID of the credential to associate with this trunk. |
primary_uri_uuid | string | No | UUID of the primary origination URI. |
fallback_uri_uuid | string | No | UUID of the fallback origination URI. |
inbound_destination | string | No | SIP URI to which inbound calls will be forwarded. |
curl -X POST https://api.vobiz.ai/api/v1/Account/AUTH_ID/trunks \
-H "X-Auth-ID: AUTH_ID" \
-H "X-Auth-Token: AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "My SIP Trunk",
"trunk_status": "enabled",
"trunk_direction": "outbound",
"concurrent_calls_limit": 10,
"cps_limit": 5,
"transport": "udp"
}'
trunk_id UUID and timestamps.
{
"trunk_id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"name": "My Outbound Trunk",
"trunk_domain": "aabbccdd-1234-5678-90ab-cdef12345678.sip.vobiz.ai",
"trunk_status": "active",
"secure": false,
"trunk_direction": "both",
"concurrent_calls_limit": 10,
"cps_limit": 2,
"description": "",
"transport": "udp",
"recording": false,
"enable_transcription": false,
"pii_redaction": false,
"webhook_method": "POST",
"recording_webhook_enabled": false,
"created_at": "2026-05-12T05:11:52.054462Z",
"updated_at": "2026-05-12T05:11:52.054462Z"
}
trunk_id for all future operationsYour Vobiz account Auth ID
Your Vobiz account Auth Token
Your account Auth ID
"MA_XXXXXX"
Success
Was this page helpful?
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/trunks \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "My Outbound Trunk",
"trunk_type": "OUTBOUND",
"max_concurrent_calls": 10
}
'{
"trunk_id": "<string>",
"account_id": "<string>",
"name": "<string>",
"trunk_domain": "<string>",
"trunk_status": "<string>",
"secure": true,
"trunk_direction": "<string>",
"concurrent_calls_limit": 123,
"cps_limit": 123,
"description": "<string>",
"transport": "<string>",
"recording": true,
"enable_transcription": true,
"pii_redaction": true,
"webhook_method": "<string>",
"recording_webhook_enabled": true,
"created_at": "<string>",
"updated_at": "<string>"
}