# Downloading a Cloud Recording Requires Signin

**URL:** <https://devforum.zoom.us/t/downloading-a-cloud-recording-requires-signin/1796>\
**Category:** API and Webhooks\
**Created:** [October 7, 2018, 10:07pm UTC](https://devforum.zoom.us/t/downloading-a-cloud-recording-requires-signin/1796 "2018-10-07T22:07:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Call\_Journey](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@Call\_Journey](https://devforum.zoom.us/u/Call_Journey)\
**Post date:** [October 7, 2018, 10:07pm UTC](https://devforum.zoom.us/t/downloading-a-cloud-recording-requires-signin/1796/1 "2018-10-07T22:07:42Z")

</div>

Hi I’m attempting to download the recording from the download\_url that is provided in the recording\_completed webook. The link is in this format [https://zoom.us/recording/download/{identifier}](https://zoom.us/recording/download/%7Bidentifier%7D)

However when I try to visit the link in Azure Logic Apps or Postman or Curl it attempts to redirect me to the login page.

Is there a way to download these files without an interactive login. I’ve tried using a valid JWT token and using basic auth with the zoom username/password, but nothing seems to work.

---

<div class="post-metadata">

**Author:** ![Call\_Journey](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@Call\_Journey](https://devforum.zoom.us/u/Call_Journey)\
**Post date:** [October 7, 2018, 11:09pm UTC](https://devforum.zoom.us/t/downloading-a-cloud-recording-requires-signin/1796/2 "2018-10-07T23:09:23Z")

</div>

Note. This also seems to happen with urls that start with&nbsp;[https://api.zoom.us/recording/download/{identifier}](https://api.zoom.us/recording/download/%7Bidentifier%7D)

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [October 8, 2018, 9:52pm UTC](https://devforum.zoom.us/t/downloading-a-cloud-recording-requires-signin/1796/3 "2018-10-08T21:52:25Z")

</div>

Hi Call Journey,&nbsp;

Currently, its by design to have the user login before downloading the cloud recording. We are planning on removing the sign portion in our upcoming release in November.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![Jay\_Luker](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jay_luker/32/8935_2.png) [@Jay\_Luker](https://devforum.zoom.us/u/Jay_Luker)\
**Post date:** [October 9, 2018, 8:55am UTC](https://devforum.zoom.us/t/downloading-a-cloud-recording-requires-signin/1796/4 "2018-10-09T08:55:30Z")

</div>

There is an undocumented (why?) mechanism called a “zak” token that we use for this. Here’s what we were told by support:

“”"

You can already pass the login credentials of the host at the end of the download URL to authenticate the download. You can generate an authentication zak token for the host by using GET [/users/{userId}/token](https://urldefense.proofpoint.com/v2/url?u=https-3A__developer.zoom.us_playground_-23_Users_userToken&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=POGkOyfJMAoUbwDtvsnwQwPggCu_oDWe7vDgwJ1lLU0&m=jGHZdUsCKFPPSojLjNZ67-tBpwj98RMmcJo7pSdbV1E&s=iIRy36xhII9OsyvE4EyE6H4FWoQVZkTWZPPPkrzL-7o&e=)&nbsp;. The token will remain valid for 50 minutes. You can then pass the token at the end of the join URL. You can also get the auth token for an Admin or Owner as well.

For example:

curl -L -o test.mp4 \<downloadURL\>?zak=\<auth token\>

“”"

&nbsp;

Here’s an example in python, note that `gen_token()` returns a jwt.

```
def get\_admin\_token(): # get admin user id from admin email r = requests.get("{}users/{}".format(ZOOM\_API\_BASE\_URL, ZOOM\_ADMIN\_EMAIL), headers={"Authorization": "Bearer %s" % gen\_token().decode()}) admin\_id = r.json()['id'] # get admin level zak token from admin id r = requests.get("{}users/{}/token?type=zak".format(ZOOM\_API\_BASE\_URL, admin\_id), headers={"Authorization": "Bearer %s" % gen\_token().decode()}) return r.json()['token']
```
