We would like to use the Zoom API to read voicemail transcriptions.
We are able to successfully retrieve the voicemailId using the following API endpoint:
/phone/users/{userId}/voice_mails
However, when calling the next API to read the voicemail transcription using:
/phone/voice_mails/{voicemailId}
we encounter a permission error. Below is the response:
{
“code”: 403,
“message”: “You do not have permission.”
}
We have a phone license, created a server-to-server app, and added the required scopes to the app. Additionally, we are able to generate an access token with the necessary scopes, yet we still receive a permission error when calling the API.
Could you please advise on how to resolve this issue?
Hi @aoscodingrpa
Thanks for reaching out to us and welcome to the Zoom Developer Forum!
Allow me some time to troubleshoot this on my end and will get back to you
With my current Dev permissions, can’t I access voicemail info for my own account (instead of another user’s)?
What permission is required to make it work?
Can you please check in the Account settings for your account > Zoom Phone > General and make sure that the Personal Voicemail & Videomail setting is enabled, as well as the Allow user to download their own voicemail/videomail setting.
If ths issue still persist after this, could you please make the request again and share it here with me (including voicemail ID) and the tracking ID found in the response headers of the request please
In your Admin tab (you will only see this if you. have an admin role, if not you would have to ask the admin of your account to enable this for your user)
Hey @aoscodingrpa
Thanks for your patience. I just heard back from our Eng team and they have shared with mee that you are using S2S account level app.
It looks like the creator of this app does not have admin permission to access or download voicemails from their account. Please ask your admin to give you any zoom phone admin role which have admin permission to access and download voicemails. These permissions