# Defining from with requests to API using JWT not behaving as expected

**URL:** <https://devforum.zoom.us/t/defining-from-with-requests-to-api-using-jwt-not-behaving-as-expected/8770>\
**Category:** API and Webhooks\
**Created:** [March 16, 2020, 9:47pm UTC](https://devforum.zoom.us/t/defining-from-with-requests-to-api-using-jwt-not-behaving-as-expected/8770 "2020-03-16T21:47:23Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 19, 2020, 4:35pm UTC](https://devforum.zoom.us/t/defining-from-with-requests-to-api-using-jwt-not-behaving-as-expected/8770/9 "2020-03-19T16:35:10Z")

</div>

Hey @lane,

It appears that endpoint only returns data in one month increments.

In order to return all the data from the past 6 months you will need to make the requests in the following ways:

[https://api.zoom.us/v2/users/{userId}/recordings?to=2020-03-19&from=2020-02-19](https://api.zoom.us/v2/users/%7BuserId%7D/recordings?to=2020-03-19&from=2020-02-19)

[https://api.zoom.us/v2/users/{userId}/recordings?to=2020-02-19&from=2020-01-19](https://api.zoom.us/v2/users/%7BuserId%7D/recordings?to=2020-02-19&from=2020-01-19)

[https://api.zoom.us/v2/users/{userId}/recordings?to=2020-01-19&from=2019-12-19](https://api.zoom.us/v2/users/%7BuserId%7D/recordings?to=2020-01-19&from=2019-12-19)

And so on…

Let me know if that works!

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/defining-from-with-requests-to-api-using-jwt-not-behaving-as-expected/8770)._
