Overview
Telecom Lookup Tools
Powered By GitBook
Assign Voicemail Box
/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
1
{
2
"code": 200,
3
"status": "success",
4
"data": "Successfully set voicemail inbox"
5
}
Copied!
Example Error
1
{
2
"code": 400,
3
"status": "error",
4
"data": "Invalid inbox id"
5
}
Copied!
Last modified 1yr ago
Copy link