Add an inbound SIP endpoint (origination URI) to a trunk.
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "Primary SBC",
"sip_uri": "sip:sbc.example.com",
"priority": 1
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"uri": "sip:sbc1.example.com",
"priority": 1,
"weight": 10,
"enabled": true,
"transport": "TCP",
"description": "Primary SBC",
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T10:00:00Z"
}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}/origination-uris
sip:user@host:port or sip:host:port.
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/jsonsip:provider@sip.example.com:5060 - Domain with usersip:192.168.1.100:5060 - IP addresssip:trunk@sip.carrier.net:5061 - Custom porthttp://sip.example.com - Wrong protocolprovider@sip.example.com:5060 - Missing sip: prefixsip:example.com - Missing port number| Field | Type | Required | Description |
|---|---|---|---|
uri | string | Yes | SIP URI destination in the format sip:user@host:port or sip:host:port. Must be a valid, reachable SIP endpoint (e.g., sip:provider@sip.example.com:5060). |
priority | integer | No | Routing priority (lower = higher priority). Default: 1. Use priority 1 for primary routes and priority 2 for backup/failover routes. |
weight | integer | No | Load balancing weight. Default: 10. Higher values receive proportionally more traffic among URIs with the same priority (e.g., weight 20 gets twice the traffic of weight 10). |
enabled | boolean | No | Whether the URI is active for routing. Default: true. Set to false to temporarily disable without deleting. |
id UUID and timestamps.
{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "",
"uri": "sip:sbc1.example.com:5060",
"priority": 1,
"weight": 10,
"enabled": true,
"transport": "TCP",
"description": "",
"created_at": "2026-05-12T05:11:51.914685Z",
"updated_at": "2026-05-12T05:11:51.914685Z"
}
curl -X POST https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"uri": "sip:provider@sip.example.com:5060",
"priority": 1,
"weight": 10,
"enabled": true
}'
curl -X POST https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"uri": "sip:backup@sip-backup.example.com:5060",
"priority": 2,
"weight": 10,
"enabled": true
}'
curl -X POST https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"uri": "sip:server1@sip.example.com:5060",
"priority": 1,
"weight": 70
}'
{
"error": "Invalid SIP URI format. Expected: sip:user@host:port",
"code": 400
}
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Your account Auth ID
"MA_XXXXXX"
Was this page helpful?
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "Primary SBC",
"sip_uri": "sip:sbc.example.com",
"priority": 1
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"uri": "sip:sbc1.example.com",
"priority": 1,
"weight": 10,
"enabled": true,
"transport": "TCP",
"description": "Primary SBC",
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T10:00:00Z"
}