/voicemail
Full Url:
Arguments:
token (string, required)
did_id (int, required)
inbox_id (int, required)
stv (yes or no, optional, defaults no)
Info: Assign a voicemail inbox to a phone number. Pass voicemail_inbox_id of "none" to remove inbox from did
Additionally, if you would like the number to go straight to voicemail (no routing to your PBX or SIP account), add stv=yes to your web call. To remove this, assign the inbox again but this time with stv=no.
Note: did_id can be obtained from the "List Detail on Specific #" at the URL https://apiv1.teleapi.net/user/dids/get?token=xxxx&number=3035551212​
Example Success
{"code": 200,"status": "success","data": "Successfully set voicemail inbox"}
Example Error
{"code": 400,"status": "error","data": "Invalid inbox id"}