# Error 403 when downloading voice mail url

**URL:** <https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315>\
**Category:** API and Webhooks\
**Created:** [February 25, 2021, 11:43pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315 "2021-02-25T23:43:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdmello](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rdmello/32/23669_2.png) [@rdmello](https://devforum.zoom.us/u/rdmello)\
**Post date:** [February 25, 2021, 11:43pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/1 "2021-02-25T23:43:32Z")

</div>

**Description**  
Hi all, I’m trying to access the download url of the voice mail. I was able to retrieve the list of voice mails using this end point:[https://api.zoom.us/v2/phone/users/me/voice\_mails](https://api.zoom.us/v2/phone/users/me/voice_mails), once I get the voicemails I tried accessing the download\_urls . This download url: [https://zoom.us/v2/phone/voice\_mails/download/DguydazmQ\_aGyQtlRhMUpw](https://zoom.us/v2/phone/voice_mails/download/DguydazmQ_aGyQtlRhMUpw) and appending with an access token. I keep getting error 403 in response even after giving the access token,

**Error**  
I’m using RestClient and I keep getting the error: **“code”:403,“message”:"You do not have permission."**

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Oauth

C# CODE:  
var client = new RestClient(download\_url);  
var request = new RestRequest(Method.GET);  
request.AddHeader(“Authorization”, "Bearer " + AccessToken);  
request.AddHeader(“Content-Type”, “application/json”);  
var response = client.Execute(request);

How do I get access to my own voicemails

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 26, 2021, 12:49pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/2 "2021-02-26T12:49:51Z")

</div>

Hi @rdmello,

Thanks for reaching out about this, and happy to help.

Can I kindly ask how you’re appending the access token? Can you please try appending `?access_token={token}` as well as `?download_token={token}` and let me know if this works for you?

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![rdmello](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rdmello/32/23669_2.png) [@rdmello](https://devforum.zoom.us/u/rdmello)\
**Post date:** [February 26, 2021, 2:45pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/3 "2021-02-26T14:45:24Z")

</div>

Hi Will,  
As mentioned in the c# code, I’m adding access\_token in the header parameter of the request url. Should I simply just try using it this way:[https://zoom.us/v2/phone/voice\_mails/download/DguydazmQ\_aGyQtlRhMUpw?access\_token={token}](https://zoom.us/v2/phone/voice_mails/download/DguydazmQ_aGyQtlRhMUpw?access_token=%7Btoken%7D)  
Also I wasn’t aware there is a token called download\_token, where do I get that?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 26, 2021, 6:12pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/4 "2021-02-26T18:12:13Z")

</div>

Hey @rdmello,

Can you try replacing access\_token with download\_token in your URL? The token itself will remain the same. Some of our endpoints use different naming conventions for the token parameter, and I’d like to rule out that this endpoint isn’t expecting `download_token` instead of `access_token`. Please try something like this and let me know if you see the same error:  
[https://zoom.us/v2/phone/voice\_mails/download/DguydazmQ\_aGyQtlRhMUpw?download\_token={token}](https://zoom.us/v2/phone/voice_mails/download/DguydazmQ_aGyQtlRhMUpw?access_token=%7Btoken%7D)

This may not be the issue, but I’d like to rule it out. 🙂

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![rdmello](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rdmello/32/23669_2.png) [@rdmello](https://devforum.zoom.us/u/rdmello)\
**Post date:** [February 26, 2021, 7:59pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/5 "2021-02-26T19:59:16Z")

</div>

> [@will.zoom](#):
>
> [https://zoom.us/v2/phone/voice\_mails/download/DguydazmQ\_aGyQtlRhMUpw?download\_token=](https://zoom.us/v2/phone/voice_mails/download/DguydazmQ_aGyQtlRhMUpw?download_token=)

I tried out the link which you mentioned in your post and it gave me a white label error

 ![whitelabel_error](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/4/147eadaa2a0675f274560563b2a69c2b0cab6120.png)

as you can see I have used download\_token instead of access\_token

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [March 1, 2021, 4:40pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/6 "2021-03-01T16:40:13Z")

</div>

Hi @rdmello,

Thank you for confirming that. You’re correct that you should be able to use the access\_token, but thank you for ruling that out.

Another thing to check—can you please try downloading the Voicemail using the download\_url in an incognito window? (using ?access\_token={token}) If you have an active session logged into another account, this could cause issues as well.

If you still have trouble with it, can you please share the full API response that includes the access\_token you’re using and the full download URL you’re attempting with? This will help to further debug, and you can send this directly to [developersupport@zoom.us](mailto:developersupport@zoom.us).

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![rdmello](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rdmello/32/23669_2.png) [@rdmello](https://devforum.zoom.us/u/rdmello)\
**Post date:** [March 2, 2021, 7:12pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/7 "2021-03-02T19:12:57Z")

</div>

Hi Will,  
Sorry for the late reply, I tried using the link in incognito mode and used access\_token={token} I got the same error: Whitelabel Error Page.  
Here is my API response :  
Content:{“code”:403,“message”:“You do not have permission.”}  
ContentType:application/json;charset=UTF-8  
Response URI:{[https://zoom.us/v2/phone/voice\_mails/download/DguydazmQ\_aGyQtlRhMUpw](https://zoom.us/v2/phone/voice_mails/download/DguydazmQ_aGyQtlRhMUpw)}  
StatusCode:Bad Request  
IsSuccessful:false  
C# code:  
var client = new RestClient(download\_url);  
var request = new RestRequest(Method.GET);  
request.AddHeader(“Authorization”, "Bearer " + AccessToken);  
request.AddHeader(“Content-Type”, “application/json”);  
var response = client.Execute(request);

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [March 2, 2021, 7:44pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/8 "2021-03-02T19:44:53Z")

</div>

Hey @rdmello,

Thanks for following up—I can see you’ve emailed in some additional details, so I will connect with you there to further investigate this.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 2, 2021, 5:45am UTC](https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315/9 "2021-04-02T05:45:15Z")

</div>

Closed on April 2, 2021, 5:45am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
