List SIP trunks
list_sip_trunksRetrieve SIP trunks on an account with names, domains, status, direction, and call limits; filter by direction and page through results.
Instructions
List the SIP trunks on this account (GET /trunks): name, domain, status, direction, CPS and concurrent-call limits. SIP username and password are replaced by "[redacted]". Paging is stateless: pass limit and offset on every call and follow pagination.next_offset until has_more is false. For one trunk's full configuration use get_sip_trunk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Trunks per page, 1-100. Defaults to the server's VOBIZ_DEFAULT_PAGE_SIZE (20). | |
| offset | No | Number of trunks to skip before the page starts (default 0). Pass pagination.next_offset from the previous page. | |
| direction | No | Only trunks of this direction: inbound, outbound, or both. Omit to list every trunk. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success; false when the result is an error (then error, message and retryable are set). | |
| count | No | Number of trunks on this page. | |
| trunks | No | Trunks on this page. | |
| pagination | No |