Download zoom meeting recording programatically

Hey @clippermadness,

ETA is in the coming months, but that is subject to change. Glad the JWT workaround is working for you!

Thanks,
Tommy

Hi @tommy,
Thanks for your reply, looking forward for your upcoming release for OAuth app.

I am now using JWT as a work around but i am facing problem when downloading cc files. I appended JWT token with the dowload_url and it is working fine with every file except these cc files.

https://zoom.us/rec/play/vtt?fid=file_id&type=cc&access_token=jwt_token

When i hit this URL a blank page appear. Any suggestion?

Hey @shaheer.shahab,

Can you private message me your full CC file with the JWT Token attached so I can debug?

Thanks,
Tommy

@tommy I am also trying to download using JWT token but password is being asked.

download_url?access_token={JWT}
How do I make it working?

Hey @raj1,

How are you making the request to download it? Can you please share your code snippet?

Thanks,
Tommy

I could figure this out but now I am facing another challenge

All my meetings are recurring meetings. When I am dowloading recording , recording only of the last session are downloading.

How can I download recordings of all sessions of the meeting?

Hi @raj1 each meeting instance contains a Meeting UUID (unique identifier) which can be used in the path of the request instead of the Meeting ID. To get a list of ended meeting instances, use the Past Meeting Instances API:

Any update on when we can expect Oauth token to work for downloading recordings.
I am able to make it work with JWT workaround but it is not good for production scenario as suggested in doc.

Hi Tommy, I am having an issue to download the video, I do not have the download_token of past meetings, and I tried to download it like you mentioned before, with this download_url?access_token="+token but I got a request time out, what could I be doing wrong? thanks Edy

Hey @naveenkumarreddy.mal,

Please do not double post. I will reply to you here:

Thanks,
Tommy

Hey @edmail,

Can you share your code snippet of downloading the recording so I can help debug?

Thanks,
Tommy

Hi,
this https://api.zoom.us/v2/meetings/86528535989/recordings?access_token={GWT_TOKEN} works and returns the JSON response, but how can I get the files?
I tried: curl {download_url} but it returns HTML page?!
How can I get the exact file? is it mp4?
Regards,

Hi,
I figured out that the recordings are shared with a passcode for each, when disabling this I could get the files correctly.
1- Is there a way to pass the passcode for the download_url without disabling the option?
2- Where can I find this passcode? didn’t appear in the JSON response of the recording?

Regards,

Hi Tommy, sorry for my delay,
I am using Nodejs to download it but its just looping and stops, I also tried with request-promise module and the same issue, and with postman the application just crash after a while and does not download the files.
below is my code

var zoomapiurl = download_url+"?access_token="+token;

var options = {
  method: "GET",
  uri: zoomapiurl,
  qs: {
      status: 'active'
  },
  headers: {
    'User-Agent': 'Zoom-api-Jwt-Request',
    'content-type': 'application/json'
  }

};

const file = fs.createWriteStream(“recordigs/downloadfile.mp4”);

const download = (url, dest, cb) => {
const file = fs.createWriteStream(dest);

const request = https.get(url, (response) => {
// check if response is success
if (response.statusCode !== 200) {
return cb('Response status was ’ + response.statusCode);
}

  response.pipe(file);

});

// close() is async, call cb after close completes
file.on(‘finish’, () => file.close(cb));

// check for request error too
request.on(‘error’, (err) => {
fs.unlink(dest);
return cb(err.message);
});

file.on(‘error’, (err) => { // Handle errors
fs.unlink(dest); // Delete the file async. (But we don’t check the result)
return cb(err.message);
});
};

thanks

Hey @platform,

You can download password protected recordings programmatically by adding the JWT Token as a query param to the download url.

download_url?access_token=JWT_TOKEN_HERE

Thanks,
Tommy

Hey @edmail,

Which recording file are you trying to download?

Thanks,
Tommy

Hi Tommy,
I tried different files, mp4 format and did not work.
Edy

Hey @edmail,

Can you email a download_url that is not working to developersupport@zoom.us so we can look into the issue further?

Thanks,
Tommy

Hi,
It will be nice to add MD5 or SHA1 in webhook data or listing, to confirm the download is ok

Thanks

Hey @ktremblay,

Thanks for this suggestion—are you using the verification token received in our webhooks to verify requests at the moment? While this will be your best bet for now, I’d also encourage you to post the suggestion for MD5 of SHA1 in our #feature-requests channel, if you’re so inclined. :slight_smile:

Thanks,
Will

1 Like