list sip trunks on the account
Use this method to get a list of SIP trunks on the account. The results are paginated with 25 records per page by default.
This endpoint requires authentication.
GET /trunks
Name | Description |
---|---|
page Query | Number Requested page |
per_page Query | Number The number of records per page to retrieve |
HTTP Status Code | Error Description | Exception Class |
---|---|---|
403 | Request failed. The feature is disabled for the account. |
|
curl -X GET -G \
--url 'https://api.wavix.com/v1/trunks' \
-H 'Accept: application/json' \
-d 'appid=appid' \
-d 'page=1' \
-d 'per_page=50'