Delete Voicemail
Delete a voicemail belonging to a subscriber.
POST
/?object=audio&action=deleteRequest URL
POST
https://uc.hopdial.com/ns-api/?object=audio&action=deleteSend your access token in the Authorization: Bearer header. Body parameters are sent as application/x-www-form-urlencoded. New to the API? Start with authentication and rate limits.
Parameters
| Name | Type | Description |
|---|---|---|
typerequiredbody | string | Can be ["vmail/new", "vmail/save", "trash"] |
owner_domainrequiredbody | string | Identifies the domain of the voicemail to be deleted |
ownerrequiredbody | string | Identifies the extension who owns the voicemail to be deleted |
indexoptionalbody | string | The filename value from the read "Read Voicemail" response |
Example request
shell
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='audio' \
-d action='delete' \
-d type='vmail/new' \
-d owner domain='abc-company.11111.service' \
-d onwer='100' \
-d index='vm-20160817153308020959-2173db79dcd9efd42e888e6778e2b31e.wav'Responses
200 · text/plain
More Voicemail endpoints
Read and delete voicemail messages and upload greetings.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.