Trunks
Retrieve All Trunks
Paginated list of all SIP trunks on your Vobiz account - view configurations, monitor rate limits, and manage global SIP trunking resources in one call.
GET
/
api
/
v1
/
Account
/
{auth_id}
/
trunks
List trunks
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"meta": {
"limit": 20,
"offset": 0,
"total": 2
},
"objects": [
{
"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": "outbound",
"concurrent_calls_limit": 10,
"cps_limit": 2,
"credential_uuid": "11223344-5566-7788-99aa-bbccddeeff00",
"description": "",
"transport": "udp",
"recording": true,
"enable_transcription": true,
"pii_redaction": false,
"webhook_method": "POST",
"recording_webhook_enabled": false,
"created_at": "2026-03-25T08:52:02.383938Z",
"updated_at": "2026-03-25T08:52:02.383938Z"
},
{
"trunk_id": "99887766-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"name": "Acme Production Trunk",
"trunk_domain": "99887766-1234-5678-90ab-cdef12345678.sip.vobiz.ai",
"trunk_status": "active",
"secure": false,
"trunk_direction": "inbound",
"concurrent_calls_limit": 10,
"cps_limit": 2,
"primary_uri_uuid": "55667788-1234-5678-90ab-cdef12345678",
"description": "",
"inbound_destination": "55667788-1234-5678-90ab-cdef12345678",
"transport": "udp",
"recording": true,
"enable_transcription": true,
"pii_redaction": false,
"pii_entity_types": "",
"webhook_url": "https://webhook.site/example",
"webhook_method": "POST",
"recording_webhook_enabled": false,
"created_at": "2026-03-25T10:28:06.112095Z",
"updated_at": "2026-03-25T10:28:06.112095Z"
}
]
}GET https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Number of results per page. Default: 20. Maximum: 100. |
offset | integer | No | Number of results to skip for pagination. Default: 0. Use with limit for page navigation. |
Request
curl -X GET "https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks" \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN"
curl -X GET "https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks?limit=50&offset=0" \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN"
Response
Returns a paginated list of trunk objects with metadata about pagination state.Response - 200 OK
{
"meta": {
"limit": 20,
"offset": 0,
"total": 2
},
"objects": [
{
"trunk_id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"name": "Acme Production Trunk",
"trunk_domain": "aabbccdd-1234-5678-90ab-cdef12345678.sip.vobiz.ai",
"trunk_status": "active",
"secure": false,
"trunk_direction": "outbound",
"concurrent_calls_limit": 10,
"cps_limit": 2,
"credential_uuid": "aabbccdd-1234-5678-90ab-cdef12345679",
"description": "",
"transport": "udp",
"recording": true,
"enable_transcription": true,
"pii_redaction": false,
"webhook_method": "POST",
"recording_webhook_enabled": false,
"created_at": "2026-04-22T08:52:02.383938Z",
"updated_at": "2026-04-29T06:45:15.188437Z"
},
{
"trunk_id": "aabbccdd-1234-5678-90ab-cdef1234567a",
"account_id": "MA_XXXXXXXX",
"name": "My Outbound Trunk",
"trunk_domain": "aabbccdd-1234-5678-90ab-cdef1234567a.sip.vobiz.ai",
"trunk_status": "active",
"secure": false,
"trunk_direction": "inbound",
"concurrent_calls_limit": 10,
"cps_limit": 2,
"primary_uri_uuid": "aabbccdd-1234-5678-90ab-cdef1234567b",
"description": "",
"inbound_destination": "aabbccdd-1234-5678-90ab-cdef1234567b",
"transport": "udp",
"recording": true,
"enable_transcription": true,
"pii_redaction": false,
"webhook_method": "POST",
"recording_webhook_enabled": false,
"created_at": "2026-04-17T10:28:06.112095Z",
"updated_at": "2026-04-22T05:35:51.255094Z"
}
]
}
Pagination Tip: Use
total from the meta object to calculate total pages. For page 2 with limit 10, use offset=10.Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Path Parameters
Your account Auth ID
Example:
"MA_XXXXXX"
Was this page helpful?
⌘I
List trunks
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/trunks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"meta": {
"limit": 20,
"offset": 0,
"total": 2
},
"objects": [
{
"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": "outbound",
"concurrent_calls_limit": 10,
"cps_limit": 2,
"credential_uuid": "11223344-5566-7788-99aa-bbccddeeff00",
"description": "",
"transport": "udp",
"recording": true,
"enable_transcription": true,
"pii_redaction": false,
"webhook_method": "POST",
"recording_webhook_enabled": false,
"created_at": "2026-03-25T08:52:02.383938Z",
"updated_at": "2026-03-25T08:52:02.383938Z"
},
{
"trunk_id": "99887766-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"name": "Acme Production Trunk",
"trunk_domain": "99887766-1234-5678-90ab-cdef12345678.sip.vobiz.ai",
"trunk_status": "active",
"secure": false,
"trunk_direction": "inbound",
"concurrent_calls_limit": 10,
"cps_limit": 2,
"primary_uri_uuid": "55667788-1234-5678-90ab-cdef12345678",
"description": "",
"inbound_destination": "55667788-1234-5678-90ab-cdef12345678",
"transport": "udp",
"recording": true,
"enable_transcription": true,
"pii_redaction": false,
"pii_entity_types": "",
"webhook_url": "https://webhook.site/example",
"webhook_method": "POST",
"recording_webhook_enabled": false,
"created_at": "2026-03-25T10:28:06.112095Z",
"updated_at": "2026-03-25T10:28:06.112095Z"
}
]
}