# How do I download a Cloud Recording that has a recording\_play\_passcode (without user interaction)?

**URL:** <https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366>\
**Category:** Cloud Recordings\
**Created:** [March 26, 2023, 7:01pm UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366 "2023-03-26T19:01:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![oscar.eduardo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/oscar.eduardo/32/46820_2.png) [@oscar.eduardo](https://devforum.zoom.us/u/oscar.eduardo)\
**Post date:** [March 26, 2023, 7:01pm UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/1 "2023-03-26T19:01:38Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
GET [https://api.zoom.us/v2/users/${userId}/recordings](https://api.zoom.us/v2/users/%24%7BuserId%7D/recordings)

**Description**  
I need to programmatically download all my Cloud Recordings from all my team.

**Error?**  
If I try to GET the {{download\_url}} I receive a web page asking : Enter the passcode to watch “{{meeting\_topic}}”  
If I try to GET {{download\_url}}?access\_token={{recording\_play\_passcode}} I receive an error  
{“status”:false,“errorCode”:124,“errorMessage”:“Forbidden”}

**How To Reproduce**  
_Steps to reproduce the behavior:_  
\*1. GET [https://api.zoom.us/v2/users/${userId}/recordings](https://api.zoom.us/v2/users/%24%7BuserId%7D/recordings)  
\*2. Bearer TOKEN

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [March 26, 2023, 10:21pm UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/2 "2023-03-26T22:21:46Z")

</div>

@oscar.eduardo Hope you will be fine.

Please watch the [session](https://youtu.be/EzWUtK-MN1U) here on how to auto-download ZoomCloud recordings.

---

<div class="post-metadata">

**Author:** ![oscar.eduardo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/oscar.eduardo/32/46820_2.png) [@oscar.eduardo](https://devforum.zoom.us/u/oscar.eduardo)\
**Post date:** [March 27, 2023, 2:34am UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/3 "2023-03-27T02:34:10Z")

</div>

Hi, NAK!

Thanks a lot for sharing your video. However that was not exactly my issue. I am able to download / stream a recording as soon as it completes, by listening to the event webhook.

What I need to do is to get all my recordings in ZOOM and download them. To do that, I use:  
GET [https://api.zoom.us/v2/users/${userId}/recordings?from=${fromDate}&to=${toDate}](https://api.zoom.us/v2/users/%24%7BuserId%7D/recordings?from=%24%7BfromDate%7D&to=%24%7BtoDate%7D)

Then I receive a list of meetings with their recording\_files and download\_url. However I have no download\_token. What I have, instead, is recording\_play\_passcode, which I don’t know how to pass along with download\_url to avoid the issues I mentioned in the first message:

1. Download an HTML which asks for a password, instead of the video
2. Receiving a message {“status”:false,“errorCode”:124,“errorMessage”:“Forbidden”}

Any ideas?

Thanks a lot again!

Oscar

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [March 27, 2023, 9:28am UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/4 "2023-03-27T09:28:37Z")

</div>

@oscar.eduardo

You need to use `/meetings/{meetingId}/recordings` api with `?include_fields= download_access_token&ttl= 604800` to get the download\_access\_token.

Thanks

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [March 27, 2023, 9:30am UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/5 "2023-03-27T09:30:56Z")

</div>

> [@oscar.eduardo](#):
>
> [https://api.zoom.us/v2/users/${userId}/recordings?from=${fromDate}&to=${toDate}](https://api.zoom.us/v2/users/$%7BuserId%7D/recordings?from=$%7BfromDate%7D&to=$%7BtoDate%7D)

In 👆 API call you to have a `meetings` collection once the response is with `status 200` then iterate the meeting object one by one & then use 👇

> [@freelancer.nak](#):
>
> `/meetings/{meetingId}/recordings` api with `?include_fields= download_access_token&ttl= 604800`

---

<div class="post-metadata">

**Author:** ![oscar.eduardo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/oscar.eduardo/32/46820_2.png) [@oscar.eduardo](https://devforum.zoom.us/u/oscar.eduardo)\
**Post date:** [March 27, 2023, 10:32pm UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/6 "2023-03-27T22:32:46Z")

</div>

Hey, NAK!

That’s really cool. I think I am almost there…

At this point I am having a crazy behavior. When I user the meeting.id (that looks like 82645894383), sometimes I get a completely different meeting recordings, sometimes I get Error - Request failed with status code 404 {“code”:3301,“message”:“This recording does not exist.”}.

I searched for this message and I’ve found this:

> [@Code:3301, There is no recording for this meeting](https://devforum.zoom.us/t/code-3301-there-is-no-recording-for-this-meeting/13395):
>
> Description I can see via the Zoom portal that a meeting has 3 recordings. [image] When I use the API to list these recordings using [https://api.zoom.us/v2/meetings/296613870/recordings](https://api.zoom.us/v2/meetings/296613870/recordings) the response is {“code”:3301,“message”:“There is no recording for this meeting”} Error The recordings are not listed Which App Type (OAuth / Chatbot / JWT / Webhook)? Rest client using JWT Which Endpoint/s? [https://api.zoom.us/v2/meetings/296613870/recordings](https://api.zoom.us/v2/meetings/296613870/recordings) (GET) How To Reproduce (If applicable) S…

They say I should use meeting.uuid instead of meeting.id. However when I do it, I got the error Error - Request failed with status code 404 {“code”:3301,“message”:“This recording does not exist.”}

Any trick here, my friend?

Thank you very much for your help!

Cheers!

Oscar

---

<div class="post-metadata">

**Author:** ![oscar.eduardo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/oscar.eduardo/32/46820_2.png) [@oscar.eduardo](https://devforum.zoom.us/u/oscar.eduardo)\
**Post date:** [March 27, 2023, 10:54pm UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/7 "2023-03-27T22:54:54Z")

</div>

Also, I think I got a big block: my recordings are saved not based on meetings scheduled inside ZOOM, but when we open the ZOOM room and press the Record to Cloud button. To give you an examples, if I call:  
[https://api.zoom.us/v2/users/oscar@crewhu.com/meetings](https://api.zoom.us/v2/users/oscar@crewhu.com/meetings)  
This is all time, I get only 4 meetings (tests that I performed at some point).  
However, if I call:  
[https://api.zoom.us/v2/users/oscar@crewhu.com/recordings?from=2020-04-16&to=2020-04-19](https://api.zoom.us/v2/users/oscar@crewhu.com/recordings?from=2020-04-16&to=2020-04-19)  
For several different timeframes, I get dozens of meetings and its recordings…

I’m stuck…

---

<div class="post-metadata">

**Author:** ![oscar.eduardo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/oscar.eduardo/32/46820_2.png) [@oscar.eduardo](https://devforum.zoom.us/u/oscar.eduardo)\
**Post date:** [March 28, 2023, 1:41am UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/8 "2023-03-28T01:41:40Z")

</div>

Hi, NAK!

I finally found the solution. Download the recordings via:  
GET [https://api.zoom.us/v2/users/${userId}/recordings?from=${fromDate}&to=${toDate}](https://api.zoom.us/v2/users/%24%7BuserId%7D/recordings?from=%24%7BfromDate%7D&to=%24%7BtoDate%7D)  
Is what I needed.

And I was able to use the download\_url that comes when I call this endpoint. I just appended a access\_token, generated via JWT App. How to is here:  
[https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/recordingGet](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/recordingGet)  
[https://developers.zoom.us/docs/platform/build/jwt-app/](https://developers.zoom.us/docs/platform/build/jwt-app/)

So, I will:  
GET ${jsonEvent.download\_url}?access\_token=${ZOOM\_JWT\_TOKEN}  
And it is DONE!

I was able to download all my old recordings using this approach.

Thanks a lot for you help!

Cheers!

Oscar

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [March 28, 2023, 1:56am UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/9 "2023-03-28T01:56:31Z")

</div>

> [@oscar.eduardo](#):
>
> generated via JWT App

The JWT App type is expiring soon you need to switch to OAuth.

---

<div class="post-metadata">

**Author:** ![paulhugo087](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paulhugo087/32/47629_2.png) [@paulhugo087](https://devforum.zoom.us/u/paulhugo087)\
**Post date:** [April 17, 2023, 1:30pm UTC](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366/13 "2023-04-17T13:30:36Z")

</div>

To download a Cloud Recording that has a `recording_play_passcode` without user interaction, you will need to use the Zoom API and a programming language such as Python to automate the process.

Here are the general steps to download a Cloud Recording:

1. Use the Zoom API to get the recording details, including the `download_url` and `recording_play_passcode`.
2. Use the `download_url` and `recording_play_passcode` to generate a download link for the recording.
3. Use a Python library such as `requests` to download the recording from the generated link.

Here’s an example Python code snippet that demonstrates how to download a Cloud Recording using the Zoom API:  
import requests

# Replace these values with your own API credentials and recording ID

zoom\_api\_key = ‘YOUR\_API\_KEY’  
zoom\_api\_secret = ‘YOUR\_API\_SECRET’  
recording\_id = ‘YOUR\_RECORDING\_ID’  
play\_passcode = ‘YOUR\_RECORDING\_PLAY\_PASSCODE’

# Use the Zoom API to get the recording details

url = f’[https://api.zoom.us/v2/meetings/{recording\_id}/recordings](https://api.zoom.us/v2/meetings/%7Brecording_id%7D/recordings)’  
headers = {‘Authorization’: f’Bearer {zoom\_api\_key}.{zoom\_api\_secret}'}  
response = requests.get(url, headers=headers)  
recording = response.json()[‘recording\_files’][0]

# Use the download\_url and recording\_play\_passcode to generate a download link

download\_link = f’{recording[“download\_url”]}?access\_token={recording[“recording\_access\_token”]}&playback\_access\_token={play\_passcode}’

# Download the recording using the generated link

with open(‘my\_recording.mp4’, ‘wb’) as f:  
response = requests.get(download\_link)  
f.write(response.content)

Note that you will need to replace the `zoom_api_key` , `zoom_api_secret` , `recording_id` , and `play_passcode` values with your own API credentials and recording details.
