Skip to content

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

MethodPathDescription
GET/trunk/listList every trunk on the tenant.
GET/trunk/get?id=tr_1Fetch a single trunk.
GET/trunk/status?id=tr_1Registration state, latest error, last seen.
POST/trunk/createAdd a SIP trunk.
POST/trunk/updateEdit trunk settings.
POST/trunk/deleteRemove 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.