cURL
curl --request GET \ --url https://api.wavix.com/v1/trunks
{ "sip_trunks": [ { "id": 3107, "label": "My trunk", "name": "32882", "auth_method": "IP auth", "callerid": "14302287001", "host_request": { "host": "127.0.0.1", "status": "pending" }, "access_token": "3213rasjwqep3uuasdh", "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.
An API key to authorize your request
Requested page
Number of records per page
An array of SIP trunks in your account
Show child attributes
Was this page helpful?