Use this method to update inbound call routing for DIDs. Calls can be routed to a SIP URI, a PSTN number or a SIP trunk on the platform. Destinations for several DIDs can be updated with a single request.
This endpoint requires authentication.
POST /mydids/update_destinations
Void
HTTP Status Code | Error Description | Exception Class |
---|---|---|
403 | Request failed. The feature is disabled for the account. |
|
curl -X POST \
--url 'https://api.wavix.com/v1/mydids/update_destinations?appid=appid' \
-H 'Content-Type: application/json' \
--data-raw '{
"IDs": [
111,
234
]
}'