List Trunks
Trunks
List Trunks
List your organization’s SIP trunks
GET
List Trunks
List the SIP trunks (carrier credentials) owned by your organization, newest first.
Secrets (
auth_password) are masked in the response.
Prerequisites: API Token + Org-Handle. See Authentication.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Token <your-api-key> |
| Org-Handle | string | Yes | Organization domain handle |
Trunk object fields
| Field | Type | Description |
|---|---|---|
| id | integer | Trunk id (use in attach / detach / delete) |
| name | string | Display name |
| sip_url | string | Carrier SIP URL / host |
| transport | string | tcp, udp, or tls |
| port | string | SIP port (default 5060) |
| auth_username | string | SIP auth username (nullable) |
| auth_password | string | Masked - only the last 4 chars shown |
| allowed_ips | string | Comma-separated source-IP allow-list |
| active | boolean | Whether the trunk is active |
| org_handle | string | Owning organization handle |
cURL