/phone/users v2 API not returning more than 30 days worth of results

Description
The /phone/users v2 API used to return over 30 days worth of data when I was originally writing a reporting tool; now it only returns a max of 30 day. For example when I use Postman I run:

it will only return data from 2020-04-01 to 2020-05-01

Error
There is no error, it’s just not retuning a result-set larger than 30 days, and it used to.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT

Which Endpoint/s?
/phone/users/

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Use Postman (also seeing the same behavior using PHP)
  2. Querying the date range: https://api.zoom.us/v2/phone/users/@plixer.com/call_logs?from=2020-02-01&to=2020-05-01
  3. Only returns data from 2020-04-01 to 2020-05-01

Screenshots (If applicable)

Being limited to 30 days or a month thing is pretty consistent with most Zoom APIs, I wouldn’t be surprised if it was intentional.

1 Like

I could’ve sworn that it worked for over 30 days last month ago. I wonder if there was a code change. Do you work for Zoom?

Hey @mark.mayer,

You can get more than 30 days worth of data, you just have to do it in one month increments. :slight_smile:

?from=2020-02-01&to=2020-03-01

?from=2020-03-01&to=2020-04-01

?from=2020-04-01&to=2020-05-01

Thanks,
Tommy

Sure, just not looking to change my code that was working just fine. Also, what about months with 31 days? 30 then add a single day on a separate call?

I really do appreciate you replying to the thread though, thank you :slight_smile:

1 Like

Hey @mark.mayer,

Apologies for the confusion, since months with 31 days are still the same month it will work in one call.

?from=2020-03-01&to=2020-03-31 or ?from=2020-03-01&to=2020-04-1 should work.

Thanks,
Tommy

1 Like

Thanks, I’ll give it a shot.

1 Like

Happy to help! :slight_smile:

-Tommy