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
When to use it
- Find a
trunk_idbefore you retrieve, update, or delete a trunk, or attach credentials, IP ACLs, and origination URIs to it. - Audit limits by comparing
concurrent_calls_limitandcps_limitacross trunks. - Check status by filtering the list for trunks whose
trunk_statusis notactive. - Review recording and transcription settings (
recording,enable_transcription,pii_redaction) on every trunk at once.
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. The response has two parts:| Field | Description |
|---|---|
meta.limit | Page size used for this response. |
meta.offset | Number of results skipped. |
meta.total | Total number of trunks on the account. |
objects | Array of trunk objects, each with its trunk_id, name, trunk_domain, trunk_status, trunk_direction, limits (concurrent_calls_limit, cps_limit), and transport and recording settings. |
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
Usetotal from the meta object to calculate the number of pages. To move between pages, keep limit fixed and increase offset by limit each time:
- Page 1 with
limit=10:offset=0 - Page 2 with
limit=10:offset=10 - Page 3 with
limit=10:offset=20
Trunk fields
Each item inobjects is a trunk object. Some fields appear only on one direction: the outbound trunk in the example carries credential_uuid, and the inbound trunk carries primary_uri_uuid and inbound_destination.
| Field | Type | Description |
|---|---|---|
trunk_id | string (UUID) | Unique identifier for the trunk. |
account_id | string | Account (auth_id) that owns the trunk. |
name | string | Descriptive name for the trunk. |
trunk_domain | string | Auto-generated SIP domain in the form <uuid>.sip.vobiz.ai. |
trunk_status | string | Status of the trunk, for example active or inactive. |
secure | boolean | Whether media is encrypted with SRTP. |
trunk_direction | string | One of inbound, outbound, or both. |
concurrent_calls_limit | integer | Maximum number of simultaneous calls. |
cps_limit | integer | Calls-per-second limit. |
description | string | Optional description of the trunk. |
transport | string | SIP transport protocol: udp, tcp, or tls. |
recording | boolean | Whether call recording is enabled. |
enable_transcription | boolean | Whether call transcription is enabled. |
pii_redaction | boolean | Whether PII redaction is applied to transcripts. |
webhook_method | string | HTTP method used for trunk webhooks, for example POST. |
recording_webhook_enabled | boolean | Whether the recording webhook is enabled. |
credential_uuid | string (UUID) | Credential attached to the trunk (outbound trunks). |
primary_uri_uuid | string (UUID) | Primary origination URI (inbound trunks). |
inbound_destination | string | Destination for inbound call routing (inbound trunks). |
created_at | string (ISO 8601) | When the trunk was created (UTC). |
updated_at | string (ISO 8601) | When the trunk was last updated (UTC). |
Related endpoints
| Task | Endpoint |
|---|---|
| Create a trunk | Create a Trunk |
| Read one trunk by ID | Retrieve a Trunk |
| Change limits or settings | Update a Trunk |
| Remove a trunk | Delete a Trunk |
| List a trunk’s credentials | Retrieve All Credentials |
| List a trunk’s IP ACLs | Retrieve All IP ACLs |
| List a trunk’s origination URIs | Retrieve All Origination URIs |
Authorizations
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"
}
]
}