get sip trunk configuration
Use this method to get configuration of a specific SIP trunk.
This endpoint requires authentication.
GET /trunks/{id}
Name | Description |
---|---|
id Template Required | Number Unique ID of SIP trunk of the platform. |
HTTP Status Code | Error Description | Exception Class |
---|---|---|
403 | Request failed. The feature is disabled for the account. |
|
404 | An object with the specified ID is not found. |
|
curl -X GET -G \
--url 'https://api.wavix.com/v1/trunks/112' \
-H 'Accept: application/json' \
-d 'appid=appid'