SIP Trunking
Origination URIs
Send a trunk's inbound calls to your own SIP URIs.
An origination URI is a SIP address of yours — a PBX or SBC — that TryVox can send a trunk's inbound calls to. Each URI has a priority and a weight, and a trunk can name a primary and a fallback URI.
Create
POST
https://api.tryvox.io/v1/account/{auth_id}/trunks/{trunk_id}/origination-uris| Parameter | Type | Required | Description |
|---|---|---|---|
| uri | string | yes | SIP URI, e.g. sip:pbx.example.com:5060 |
| priority | integer | no | Default 10 |
| weight | integer | no | Default 50 |
| enabled | boolean | no | Default true |
| transport | string | no | Default udp |
| description | string | no | Free text |
curl -X POST https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/trunks/$TRUNK_ID/origination-uris \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN \
-H "Content-Type: application/json" \
-d '{
"uri": "sip:pbx.example.com:5060",
"description": "Primary PBX"
}'201 Created:
{
"data": {
"id": "9c0d1e2f-3a4b-4c5d-8e6f-7a8b9c0d1e2f",
"trunk_id": "4a5b6c7d-8e9f-4a1b-9c2d-3e4f5a6b7c8d",
"account_id": "TJab12cd34",
"uri": "sip:pbx.example.com:5060",
"priority": 10,
"weight": 50,
"enabled": true,
"transport": "udp",
"description": "Primary PBX",
"created_at": "2026-10-30T10:45:00Z",
"updated_at": "2026-10-30T10:45:00Z"
}
}List, Get, Update, Delete
GET /v1/account/{auth_id}/trunks/{trunk_id}/origination-uris
GET /v1/account/{auth_id}/trunks/{trunk_id}/origination-uris/{uri_id}
PUT /v1/account/{auth_id}/trunks/{trunk_id}/origination-uris/{uri_id}
DELETE /v1/account/{auth_id}/trunks/{trunk_id}/origination-uris/{uri_id}PUT accepts any create field.
Use on a Trunk
Set primary_uri_uuid and, optionally, fallback_uri_uuid on Update Trunk.
Account-Level URIs
The same operations exist without a trunk at /v1/account/{auth_id}/origination-uris.