# Problem trying to download video using recording.completed webhook info

**URL:** <https://devforum.zoom.us/t/problem-trying-to-download-video-using-recording-completed-webhook-info/83527>\
**Category:** Authentication\
**Tags:** webhooks\
**Created:** [February 21, 2023, 9:07pm UTC](https://devforum.zoom.us/t/problem-trying-to-download-video-using-recording-completed-webhook-info/83527 "2023-02-21T21:07:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergiomn](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sergiomn](https://devforum.zoom.us/u/sergiomn)\
**Post date:** [February 21, 2023, 9:07pm UTC](https://devforum.zoom.us/t/problem-trying-to-download-video-using-recording-completed-webhook-info/83527/1 "2023-02-21T21:07:24Z")

</div>

\_\_

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
recording.completed webhook  
docs/api-reference/zoom-api/events/#operation/recording.completed

**Description**  
I’m trying to download a file after the recording.completed webhook is triggered.

This is the response I get when the webhook is triggered, which is different from the documentation (I removed the audio and timeline recordings info so it doesn’t get too big):

I had to remove the h t t p s because I cannot include more than one link ☹

{“payload”:  
{“account\_id”:“jBcRv6wHQFKUplM8hnZa0g”,  
“object”:{  
“recording\_play\_passcode”:“KOkgr46MyU-2ZeVHD9tJy9fWFG2-5mUL”,  
“timezone”:“America/Mexico\_City”,  
“recording\_files”:[  
{“play\_url”:“[us06web.zoom.us/rec/play/yH-UK3AelasERy5auagUcMeEk9uXr\_By42Tlmwo0pjVj3HjhNw81hZ42Y0UzSZkcbVtfxkg5MPoUueu6.2Fy5VzNi9LYrgsdj](http://us06web.zoom.us/rec/play/yH-UK3AelasERy5auagUcMeEk9uXr_By42Tlmwo0pjVj3HjhNw81hZ42Y0UzSZkcbVtfxkg5MPoUueu6.2Fy5VzNi9LYrgsdj)”,  
“meeting\_id”:“YPXrkzbUQCWc+6zxyneJIg==”,  
“file\_type”:“MP4”,  
“recording\_type”:“shared\_screen\_with\_speaker\_view”,  
“ **download\_url** ”:“here goes a very large u r l which I cannot include here”,  
“file\_extension”:“MP4”,  
“id”:“6e2663e9-61f2-4020-8d19-056e36fd2e27”,  
“file\_size”:2322759,  
“recording\_start”:“2023-02-21T08:45:16Z”,  
“recording\_end”:“2023-02-21T08:45:49Z”,  
“status”:“completed”}],  
“total\_size”:2848822,  
“recording\_count”:3,  
“type”:2,  
“uuid”:“YPXrkzbUQCWc+6zxyneJIg==”,  
“host\_id”:“jnchN-qfQjGQOyVSH1N9Pw”,  
“duration”:0,  
“start\_time”:“2023-02-21T08:45:16Z”,  
“password”:“?9!mcNym”,  
“on\_prem”:false,  
“account\_id”:“jBcRv6wHQFKUplM8hnZa0g”,  
“share\_url”:“here goes a very large u r l which I cannot include here”,  
“topic”:“Interview John Doe”,  
“id”:87501906674,  
“[host\_email":"myEmail@myEmail.com](mailto:host_email%22:%22myEmail@myEmail.com)”}  
},  
“ **download\_token** ”:“eyJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJodHRwczovL2V2ZW50Lnpvb20udXMiLCJhY2NvdW50SWQiOiJqQmNSdjZ3SFFGS1VwbE04aG5aYTBnIiwiYXVkIjoiaHR0cHM6Ly9vYXV0aC56b29tLnVzIiwibWlkIjoiWVBYcmt6YlVRQ1djKzZ6eHluZUpJZz09IiwiZXhwIjoxNjc3MDU1NjIzLCJ1c2VySWQiOiJqbmNoTi1xZlFqR1FPeVZTSDFOOVB3In0.XQa2IYxopeoxThOf7BR79ZGjFzfpJp2isHl0fNWjdvxLsnfxskC6cFD3zaj56kpNRq1Y0JxbGoKoSEVccL5P6Q”,  
“event\_ts”:1676969208856,“event”:“recording.completed”}

if I copy/pase the download\_url in a browser, adding the “access\_token= {download\_token}” I get an invalid key message. If I don’t add the “access\_token” parameter, then I’m redirected to another page where I can enter the passcode and watch the video, however, what I need is to DOWNLOAD the video.

If I try to download it using cURL like it’s specified on the documentation, nothing happens:

curl --request GET   
–url ‘here goes a very large u r l which I cannot include here’   
–header 'authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJodHRwczovL2V2ZW50Lnpvb20udXMiLCJhY2NvdW50SWQiOiJqQmNSdjZ3SFFGS1VwbE04aG5aYTBnIiwiYXVkIjoiaHR0cHM6Ly9vYXV0aC56b29tLnVzIiwibWlkIjoiWVBYcmt6YlVRQ1djKzZ6eHluZUpJZz09IiwiZXhwIjoxNjc3MDU1NjIzLCJ1c2VySWQiOiJqbmNoTi1xZlFqR1FPeVZTSDFOOVB3In0.XQa2IYxopeoxThOf7BR79ZGjFzfpJp2isHl0fNWjdvxLsnfxskC6cFD3zaj56kpNRq1Y0JxbGoKoSEVccL5P6Q   
–header ‘content-type: application/json’

In the documentation, a field called file\_name it’s mentioned, but it’s not present on this response.

Am I using an incorrect webhook? How can I get the actual download URL to the file?

Any help will be really appreciated.

P.S. I’m using java  
**Error?**  
invalid download Key (-1)

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. Request URL / Headers **(without credentials or sensitive info like emails, uuid, etc.)** / Body_  
Add a recording.completed webhook, setup the endpoint url, get the response

---

<div class="post-metadata">

**Author:** ![sergiomn](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sergiomn](https://devforum.zoom.us/u/sergiomn)\
**Post date:** [February 21, 2023, 10:46pm UTC](https://devforum.zoom.us/t/problem-trying-to-download-video-using-recording-completed-webhook-info/83527/2 "2023-02-21T22:46:51Z")

</div>

This is the download\_url, I think it’s probably relevant since I noticed that it starts different from other download\_url’s I’ve seen on this forum:

“download\_url”:“[Passcode Required - Zoom](https://us06web.zoom.us/rec/webhook_download/yH-UK3AelasERy5auagUcMeEk9uXr_By42Tlmwo0pjVj3HjhNw81hZ42Y0UzSZkcbVtfxkg5MPoUueu6.2Fy5VzNi9LYrgsdj/FCtCYgvp7dgvoYggJhwWzhGykLHZ807gcHCLmpurzBgYDtD9G0BfLTO5LBLYBGrJ.yu00XutbACRmNN-f)”

I mean, it starts with [https://us06web.zoom.us/rec/webhook\_download/](https://us06web.zoom.us/rec/webhook_download/)

Also, if I try to download the file without sending any headers, what I get is an html file/result (and I need to download the actual video file)

Any help will be really appreciated

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [February 23, 2023, 1:55pm UTC](https://devforum.zoom.us/t/problem-trying-to-download-video-using-recording-completed-webhook-info/83527/3 "2023-02-23T13:55:07Z")

</div>

Hi @sergiomn  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Let me do some testing on my end and I will come back with an update shortly.  
Best,  
Elisa
