Skip to main content
The First Step
Apr 28, 2021 6:09 PM UTC
Solved

What is the API end point to list all Voicemails

The use case is to periodically download all the voicemails that were left at a particular number.

    PhongVu
    PhongVuAnswer
    Community Manager
    Apr 28, 2021 8:45 PM UTC

    Call the message store and specify the messageType="VoiceMail". Remember that you can only list the message store at extension level.

    5 replies

    The First Step
    Apr 28, 2021 8:17 PM UTC

    There is an API which will enables notifications in case of new voicemail message is received.

    /restapi/v1.0/account/{accountId}/extension/{extensionId}/voicemail 

    https://developers.ringcentral.com/api-reference/Voicemail-Message-Event

    Is that what you want?

    admin-7The First StepAuthor
    The First Step
    Apr 28, 2021 8:42 PM UTC

    Thanks for your answer. I am aware of the notification. The problem with notifications is that they are sent only once. A webhook is not ideal in our use case. So are there any endpoints to list and retrieve a Voicemail messages?

    PhongVu
    Community Manager
    PhongVuAnswer
    Community Manager
    Apr 28, 2021 8:45 PM UTC

    Call the message store and specify the messageType="VoiceMail". Remember that you can only list the message store at extension level.

    admin-7The First StepAuthor
    The First Step
    Apr 28, 2021 8:53 PM UTC

    Thanks!

    The First Step
    Oct 13, 2022 1:33 PM UTC

    Hi @Anirban is there any way to catch all calls to VoiceMail for all users inside our company with super user? /restapi/v1.0/account/~/extension/~/voicemail This is how I try but "Not allowed subscribe for messages to other extensions% " i get the error.


    Could you please help for this ?