Api list recordings has stopped working

Hello this API worked perfectly for me but it stopped working.
in particular I use this call:

$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => array(
“authorization: Bearer blablabla”,
),
));

now this call gives me the videos

{“from”:“2020-07-27”,“to”:“2020-08-27”…

but I have a video recorded on 2020-07-20 and of course it is not shown
the only way to see the 2020-07-20 video is to put in the api call

CURLOPT_URL => “https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20&to=2020-07-20

but that’s certainly not what I need.
Any suggestions are well accepted.
thank you so much

Hey @jacademy,

Not sure what the issue is. What exactly are you trying to do? Get the recording in a months time frame?

Thanks,
Tommy

Hi Tommy,
thanks for the answer.
I’m trying to get all the recordings from a specific date to today. This API worked but now it’s not working anymore.

In details, I have one recording made on 2020-07-27 and this is the only recording made from 2020-07-20 to today. But the API:
https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20
gives me no result. It doesn’t give me the recording made on 2020-07-27.

What is the error?

Thank you.

Hey @jacademy,

Can you please try the following request url?

https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-26&to2020-07-28

In the future make sure to use the to query param. :slight_smile:

Thanks,
Tommy

Hi Tommy,
after several test, I discovered that api works for a maximum range of a month.
So this api works:
https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20&to=2020-08-20”

Instead, this api is NOT working:
https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20&to=2020-08-31”

But usually I need a range that is more than one month. How can I do?

Hi @jacademy,

I’m glad to hear you were able to get this to work for a max range of 1 month.

To clarify, 1 month is currently the longest timeframe for which you can provide a to/from range under this endpoint, in one call.

If you need to access recordings for a larger time frame, you’ll need to make additional API calls (e.g., &from=2020-07-20&to=2020-08-20 and then &from=2020-08-20&to=2020-09-20, etc.). Having said this, it’s a great suggestion to be able to query a larger date range in one call—I’d encourage you to submit this feature request here: #feature-requests

I hope this helps to clarify!

Best,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.