Vobiz Trunks API
Configure SIP trunks for inbound and outbound calling
Configure SIP trunks for inbound and outbound calling
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vobiz-ai:vobiz-ai-trunks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Vobiz Trunks API
description: 'The Vobiz API lets you make calls, manage phone numbers, configure SIP trunks,
and access account data programmatically.
**Base URL:** `https://api.vobiz.ai`
**Authentication:** All requests require `X-Auth-ID` and `X-Auth-Token` headers.
Obtain these from your Vobiz Console.
**Versioning and deprecation:** The API is versioned in the URL (`/api/v1/`). Breaking changes go through a published deprecation lifecycle: the change is announced and marked `deprecated` in this spec, deprecated endpoints carry `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) response headers, and a deprecated field or endpoint stays available for a minimum of 90 days between the sunset announcement and removal. See the versioning and deprecation policy.'
version: '1.0'
contact:
email: support@vobiz.ai
url: https://www.vobiz.ai
servers:
- url: https://api.vobiz.ai
description: Production
security:
- AuthID: []
AuthToken: []
tags:
- name: Trunks
description: Configure SIP trunks for inbound and outbound calling
paths:
/api/v1/Account/{auth_id}/trunks:
get:
operationId: list-trunks
summary: List trunks
description: Retrieve all SIP trunks configured on the account.
tags:
- Trunks
parameters:
- $ref: '#/components/parameters/AuthId'
responses:
'200':
description: List of trunks
content:
application/json:
example:
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'
schema:
type: object
properties:
meta:
type: object
properties:
limit:
type: integer
offset:
type: integer
total:
type: integer
required:
- limit
- offset
- total
objects:
type: array
items:
type: object
properties:
trunk_id:
type: string
account_id:
type: string
name:
type: string
trunk_domain:
type: string
trunk_status:
type: string
secure:
type: boolean
trunk_direction:
type: string
concurrent_calls_limit:
type: integer
cps_limit:
type: integer
credential_uuid:
type: string
description:
type: string
transport:
type: string
recording:
type: boolean
enable_transcription:
type: boolean
pii_redaction:
type: boolean
webhook_method:
type: string
recording_webhook_enabled:
type: boolean
created_at:
type: string
updated_at:
type: string
primary_uri_uuid:
type: string
inbound_destination:
type: string
pii_entity_types:
type: string
webhook_url:
type: string
required:
- trunk_id
- account_id
- name
- trunk_domain
- trunk_status
- secure
- trunk_direction
- concurrent_calls_limit
- cps_limit
- description
- transport
- recording
- enable_transcription
- pii_redaction
- webhook_method
- recording_webhook_enabled
- created_at
- updated_at
required:
- meta
- objects
post:
operationId: create-trunk
summary: Create a trunk
description: Create a new SIP trunk for inbound or outbound calling.
tags:
- Trunks
parameters:
- $ref: '#/components/parameters/AuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
maxLength: 100
description: Trunk name.
trunk_direction:
type: string
enum:
- inbound
- outbound
description: Direction of the trunk — **`inbound` or `outbound` only** (a trunk is one direction, not both).
trunk_status:
type: string
enum:
- enabled
- disabled
description: 'Trunk status — `enabled` or `disabled` (note: not `active`).'
secure:
type: boolean
trunk_domain:
type: string
maxLength: 255
description: SIP domain. Auto-generated as `{first8ofUUID}.sip.vobiz.ai` if omitted.
transport:
type: string
enum:
- udp
- tcp
- tls
inbound_destination:
type: string
maxLength: 255
description:
type: string
maxLength: 500
concurrent_calls_limit:
type: integer
minimum: 0
maximum: 1000
description: Stored on the trunk. The **enforced** concurrency limit is account-level (account base + channel subscriptions), not this field.
cps_limit:
type: integer
minimum: 0
maximum: 100
description: Stored on the trunk. The **enforced** CPS is account-level, not this field.
credential_uuid:
type: string
description: Attach an existing SIP credential (username / password / realm) by UUID.
ipacl_uuid:
type: string
description: Attach an existing IP access-control list (IP-based auth) by UUID.
primary_uri_uuid:
type: string
description: Primary origination URI UUID.
fallback_uri_uuid:
type: string
description: Fallback origination URI UUID.
recording:
type: boolean
default: false
description: Enable call recording.
enable_transcription:
type: boolean
default: false
description: Auto-transcribe recordings when `recording=true`.
pii_redaction:
type: boolean
default: false
description: Redact PII from transcriptions.
pii_entity_types:
type: string
description: Comma-separated list of entity types to redact.
webhook_url:
type: string
maxLength: 500
description: 'Customer webhook for call-admission events (`CallInitiated` / `Hangup`).
Must be a valid **public** http/https URL. SSRF-validated — localhost,
private (RFC1918), and cloud-metadata (`169.254.169.254`) URLs are
rejected with `invalid webhook_url`. See [Trunk Webhooks](/trunks/webhook).
'
example: https://example.com/vobiz/webhook
webhook_method:
type: string
enum:
- POST
- GET
default: POST
description: HTTP method for the webhook callback.
recording_webhook_enabled:
type: boolean
default: false
description: Fire a `recording.completed` webhook to `webhook_url` after a recording is saved.
username:
type: string
maxLength: 100
deprecated: true
description: Deprecated — use `credential_uuid`.
password:
type: string
maxLength: 100
deprecated: true
description: Deprecated — use `credential_uuid`.
ip_whitelist:
type: array
items:
type: string
deprecated: true
description: Deprecated — use `ipacl_uuid`.
required:
- name
example:
name: Retell AI SIP
trunk_direction: outbound
transport: udp
webhook_url: https://example.com/vobiz/webhook
webhook_method: POST
recording: true
enable_transcription: true
concurrent_calls_limit: 50
cps_limit: 15
credential_uuid: b1e2...
ipacl_uuid: c3d4...
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
trunk_id:
type: string
account_id:
type: string
name:
type: string
trunk_domain:
type: string
trunk_status:
type: string
secure:
type: boolean
trunk_direction:
type: string
concurrent_calls_limit:
type: integer
cps_limit:
type: integer
description:
type: string
transport:
type: string
recording:
type: boolean
enable_transcription:
type: boolean
pii_redaction:
type: boolean
webhook_method:
type: string
recording_webhook_enabled:
type: boolean
created_at:
type: string
updated_at:
type: string
required:
- trunk_id
- account_id
- name
- trunk_domain
- trunk_status
- secure
- trunk_direction
- concurrent_calls_limit
- cps_limit
- description
- transport
- recording
- enable_transcription
- pii_redaction
- webhook_method
- recording_webhook_enabled
- created_at
- updated_at
'201':
description: Trunk created
content:
application/json:
schema:
$ref: '#/components/schemas/Trunk'
example:
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
description: ''
transport: udp
recording: false
enable_transcription: false
pii_redaction: false
webhook_method: POST
recording_webhook_enabled: false
created_at: '2026-03-25T05:11:52.054462Z'
updated_at: '2026-03-25T05:11:52.054462Z'
/api/v1/Account/{auth_id}/trunks/{trunk_id}:
get:
operationId: retrieve-trunk
summary: Retrieve a trunk
description: Get details of a specific SIP trunk.
tags:
- Trunks
parameters:
- $ref: '#/components/parameters/AuthId'
- name: trunk_id
in: path
required: true
schema:
type: string
example: trunk_XXXXXX
responses:
'200':
description: Trunk details
content:
application/json:
schema:
type: object
properties:
trunk_id:
type: string
account_id:
type: string
name:
type: string
trunk_domain:
type: string
trunk_status:
type: string
secure:
type: boolean
trunk_direction:
type: string
concurrent_calls_limit:
type: integer
cps_limit:
type: integer
description:
type: string
transport:
type: string
recording:
type: boolean
enable_transcription:
type: boolean
pii_redaction:
type: boolean
webhook_method:
type: string
recording_webhook_enabled:
type: boolean
created_at:
type: string
updated_at:
type: string
required:
- trunk_id
- account_id
- name
- trunk_domain
- trunk_status
- secure
- trunk_direction
- concurrent_calls_limit
- cps_limit
- description
- transport
- recording
- enable_transcription
- pii_redaction
- webhook_method
- recording_webhook_enabled
- created_at
- updated_at
example:
trunk_id: 11223344-1234-5678-90ab-cdef12345678
account_id: MA_XXXXXXXX
name: Acme Production Trunk
trunk_domain: 11223344-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-03-25T10:00:00Z'
updated_at: '2026-03-25T10:00:00Z'
put:
operationId: update-trunk
summary: Update a trunk
description: Update a SIP trunk's name, configuration, or status.
tags:
- Trunks
parameters:
- $ref: '#/components/parameters/AuthId'
- name: trunk_id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
description: All fields are optional — send only what you want to change. Does not accept `username`/`password` (rotate credentials via the credentials subresource endpoint).
properties:
name:
type: string
maxLength: 100
trunk_direction:
type: string
enum:
- inbound
- outbound
description: Direction of the trunk — `inbound` or `outbound` only.
trunk_status:
type: string
enum:
- enabled
- disabled
secure:
type: boolean
trunk_domain:
type: string
maxLength: 255
transport:
type: string
enum:
- udp
- tcp
- tls
inbound_destination:
type: string
maxLength: 255
description:
type: string
maxLength: 500
concurrent_calls_limit:
type: integer
minimum: 0
maximum: 1000
cps_limit:
type: integer
minimum: 0
maximum: 100
credential_uuid:
type: string
ipacl_uuid:
type: string
primary_uri_uuid:
type: string
fallback_uri_uuid:
type: string
recording:
type: boolean
enable_transcription:
type: boolean
pii_redaction:
type: boolean
pii_entity_types:
type: string
webhook_url:
type: string
maxLength: 500
description: Customer webhook for call-admission events (`CallInitiated` / `Hangup`). Public http/https URL; SSRF-validated. See [Trunk Webhooks](/trunks/webhook).
webhook_method:
type: string
enum:
- POST
- GET
default: POST
recording_webhook_enabled:
type: boolean
responses:
'200':
description: Trunk updated
content:
application/json:
schema:
type: object
properties:
trunk_id:
type: string
account_id:
type: string
name:
type: string
trunk_domain:
type: string
trunk_status:
type: string
secure:
type: boolean
trunk_direction:
type: string
concurrent_calls_limit:
type: integer
cps_limit:
type: integer
description:
type: string
transport:
type: string
recording:
type: boolean
enable_transcription:
type: boolean
pii_redaction:
type: boolean
webhook_method:
type: string
recording_webhook_enabled:
type: boolean
created_at:
type: string
updated_at:
type: string
required:
- trunk_id
- account_id
- name
- trunk_domain
- trunk_status
- secure
- trunk_direction
- concurrent_calls_limit
- cps_limit
- description
- transport
- recording
- enable_transcription
- pii_redaction
- webhook_method
- recording_webhook_enabled
- created_at
- updated_at
example:
trunk_id: 99887766-1234-5678-90ab-cdef12345678
account_id: MA_XXXXXXXX
name: Acme Production Trunk Updated
trunk_domain: 99887766-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-03-25T10:00:00Z'
updated_at: '2026-03-25T10:05:00Z'
delete:
operationId: delete-trunk
summary: Delete a trunk
description: Permanently delete a SIP trunk.
tags:
- Trunks
parameters:
- $ref: '#/components/parameters/AuthId'
- name: trunk_id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: string
'204':
description: Trunk deleted
components:
parameters:
AuthId:
name: auth_id
in: path
required: true
description: Your account Auth ID
schema:
type: string
example: MA_XXXXXX
schemas:
Trunk:
type: object
properties:
id:
type: string
name:
type: string
trunk_type:
type: string
enum:
- INBOUND
- OUTBOUND
sip_domain:
type: string
example: abc123.sip.vobiz.ai
enabled:
type: boolean
created_at:
type: string
format: date-time
securitySchemes:
AuthID:
type: apiKey
in: header
name: X-Auth-ID
description: Your Vobiz account Auth ID
AuthToken:
type: apiKey
in: header
name: X-Auth-Token
description: Your Vobiz account Auth Token
externalDocs:
description: API versioning and deprecation policy
url: https://www.vobiz.ai/docs/api-reference/versioning