Trunks API reference
Last updated: 2026-06-01
Manage SIP trunks: list, query status, add, edit, and remove.
Required scope
trunk:read, trunk:write
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /trunk/list | List every trunk on the tenant. |
GET | /trunk/get?id=tr_1 | Fetch a single trunk. |
GET | /trunk/status?id=tr_1 | Registration state, latest error, last seen. |
POST | /trunk/create | Add a SIP trunk. |
POST | /trunk/update | Edit trunk settings. |
POST | /trunk/delete | Remove a trunk. |
Common errors
40001— Missing or invalid parameter.40301— API key lacks the scope this endpoint requires.40401— Resource not found.50001— Internal error; safe to retry with backoff.