Problem trying to download video using recording.completed webhook info


Format Your New Topic as Follows:

API Endpoint(s) and/or Zoom API Event(s)
recording.completed webhook

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 :frowning:

{“play_url”:“Passcode Required - Zoom”,
download_url”:“here goes a very large u r l which I cannot include here”,
“share_url”:“here goes a very large u r l which I cannot include here”,
“topic”:“Interview John Doe”,

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

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

I mean, it starts with

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

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.