# Download URL, filename header info change?

**URL:** <https://devforum.zoom.us/t/download-url-filename-header-info-change/13911>\
**Category:** API and Webhooks\
**Created:** [April 19, 2020, 5:12pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911 "2020-04-19T17:12:17Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![kchan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kchan/32/3397_2.png) [@kchan](https://devforum.zoom.us/u/kchan)\
**Post date:** [April 19, 2020, 5:12pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/1 "2020-04-19T17:12:17Z")

</div>

Folks,  
I wrote a bunch of scripts to check for new recording then download those recordings locally. In the web browser interface you’re typically prompted to save the file and a filename is given.

Since it’s not the same our script attempts to do a download then grabs the intended filename from the header.

Has this changed? We don’t see the filename info in the header anymore.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 21, 2020, 1:47am UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/2 "2020-04-21T01:47:20Z")

</div>

Hey @kchan,

What was the file name typically?

FYI you can also use our [recording completed webhooks](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed) to accomplish this programmatically.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![kchan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kchan/32/3397_2.png) [@kchan](https://devforum.zoom.us/u/kchan)\
**Post date:** [April 21, 2020, 5:10am UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/3 "2020-04-21T05:10:18Z")

</div>

Hi Tommy,  
We do a command via curl to get the header from the download URL. Different file types would return different info. For most file type we’d grep for the Location string then parse from there. Some file types would do a filename=xxxx.

I’ll look at the recording completed webhooks. Didn’t know it existed. I had asked a couple of weeks ago about getting filename via parsing the returned head info and no one mentioned that webhook. Thanks!

kenwrick

---

<div class="post-metadata">

**Author:** ![kchan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kchan/32/3397_2.png) [@kchan](https://devforum.zoom.us/u/kchan)\
**Post date:** [April 21, 2020, 5:19am UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/4 "2020-04-21T05:19:01Z")

</div>

Hi Tommy,  
Sorry if I wasn’t clear. The filename would be the same filename that your web browser would prompt you (to save) if you entered the download URL after authenticating to your zoom account via the web browser.

kenwrick

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 21, 2020, 9:45am UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/5 "2020-04-21T09:45:10Z")

</div>

Hey @kchan,

Happy to help! 🙂

Possible solution would be to come up with a naming convention, maybe the date and meetingID or meetingUUID (returned from api and webhook) and make that the file name.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![kchan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kchan/32/3397_2.png) [@kchan](https://devforum.zoom.us/u/kchan)\
**Post date:** [April 21, 2020, 6:56pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/6 "2020-04-21T18:56:49Z")

</div>

As it turns out I did something similar but the downloads still didn’t work. Looking that resulting downloads I see

Password Required - Zoom

Is this due to the newish security change of requiring a password? The account that I’m downloading from is an admin account. Is there an alternative way to download the media?

---

<div class="post-metadata">

**Author:** ![kchan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kchan/32/3397_2.png) [@kchan](https://devforum.zoom.us/u/kchan)\
**Post date:** [April 21, 2020, 7:03pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/7 "2020-04-21T19:03:08Z")

</div>

Using the web browser and download URL authenticated with my “admin” credentials I could successfully download a good file. It’s just using the same script that was working for the past month it’s somehow broken (for downloads), but it still can connect via the api to get a listing of recordings by the user.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 22, 2020, 9:34pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/8 "2020-04-22T21:34:21Z")

</div>

Hey @kchan,

For downloading password protected files, please see our docs:

[https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingget](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingget)

Or use the download token in the recording completed webhook:

[https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![kchan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kchan/32/3397_2.png) [@kchan](https://devforum.zoom.us/u/kchan)\
**Post date:** [April 23, 2020, 12:36am UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/9 "2020-04-23T00:36:00Z")

</div>

Thanks Tommy for setting me on the right path. As it turns out for now, _ **you can’t do both** _. So appending ?access\_token=xxxxxx to the download URL certainly works, but it won’t if you also send Authorization: Bearer xxxxx in your header info.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 23, 2020, 6:19pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/10 "2020-04-23T18:19:55Z")

</div>

Hey @kchan,

That is correct.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![kchan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kchan/32/3397_2.png) [@kchan](https://devforum.zoom.us/u/kchan)\
**Post date:** [April 23, 2020, 6:34pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/11 "2020-04-23T18:34:52Z")

</div>

Thanks Tommy.

kenwrick

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 24, 2020, 10:45pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/12 "2020-04-24T22:45:02Z")

</div>

Happy to help! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:55pm UTC](https://devforum.zoom.us/t/download-url-filename-header-info-change/13911/13 "2020-08-21T20:55:58Z")

</div>

Closed on August 21, 2020, 8:55pm UTC


