# 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:** 1\
**Showing post:** 13

<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.

---

_[View the full topic](https://devforum.zoom.us/t/how-do-i-download-a-cloud-recording-that-has-a-recording-play-passcode-without-user-interaction/85366)._
