cURL
curl --request GET \ --url https://api.wavix.com/v1/trunks \ --header 'Authorization: Bearer <token>'
{ "sip_trunks": [ { "id": 3107, "label": "My trunk", "name": "32882", "auth_method": "IP auth", "callerid": "14302287001", "host_request": { "host": "127.0.0.1", "status": "pending" }, "encrypted_media": false, "passthrough": "false,", "multiple_numbers": true, "status": "pending", "charge": 24.637, "talk_time": 65, "machine_detection_enabled": true, "call_recording_enabled": true, "transcription_enabled": true, "transcription_threshold": 6 } ], "pagination": { "current_page": 1, "total": 1, "per_page": 25, "total_pages": 1 } }
Use this method to list SIP trunks on your account. By default, results are paginated with 25 records per page.
Bearer token using appid (Authorization: Bearer )
Requested page
Number of records per page
A list of SIP trunks associated with your account
Show child attributes
Was this page helpful?