# Get all user recordings error with Start and end date

**URL:** <https://devforum.zoom.us/t/get-all-user-recordings-error-with-start-and-end-date/5078>\
**Category:** API and Webhooks\
**Created:** [July 18, 2019, 1:50am UTC](https://devforum.zoom.us/t/get-all-user-recordings-error-with-start-and-end-date/5078 "2019-07-18T01:50:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsullivan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nsullivan/32/1315_2.png) [@nsullivan](https://devforum.zoom.us/u/nsullivan)\
**Post date:** [July 18, 2019, 1:50am UTC](https://devforum.zoom.us/t/get-all-user-recordings-error-with-start-and-end-date/5078/1 "2019-07-18T01:50:53Z")

</div>

Here is what I have inputted into the api call

- User ID or Email Address: me,
- Start date: 2019-06-01,
- End date: 2019-07-01

But here is the output:

- Start Date: 2019-07-17,
- End Date: 2019-07-18,

It is changing my start and end date to today and tomorrow automatically.

I am sending a get request to the following link  
[https://api.zoom.us/v2/users/{userId}/recordings](https://api.zoom.us/v2/users/%7BuserId%7D/recordings)

Not sure what is causing the date to automatically change.

---

<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:** [July 18, 2019, 3:28pm UTC](https://devforum.zoom.us/t/get-all-user-recordings-error-with-start-and-end-date/5078/2 "2019-07-18T15:28:27Z")

</div>

Hey @nsullivan,

I was successfully able to get recordings with the dates you supplied and the dates did not change in the response,

GET `https://api.zoom.us/v2/users/me/recordings?from=2019-06-01&to=2019-07-01`

Can you send me your GET request URL so I can take a look?

Thanks!

---

<div class="post-metadata">

**Author:** ![nsullivan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nsullivan/32/1315_2.png) [@nsullivan](https://devforum.zoom.us/u/nsullivan)\
**Post date:** [July 18, 2019, 4:01pm UTC](https://devforum.zoom.us/t/get-all-user-recordings-error-with-start-and-end-date/5078/3 "2019-07-18T16:01:14Z")

</div>

@tommy The way our connector works is through Workato, a middleware tool. It looks like this.

Earlier in the code we define as the base request url to be:  
`"https://api.zoom.us"`  
and for this particular function we use:  
`get("/v2/users/" + input["userId"] + "/recordings")`  
Where the user can input their userId.  
The user input of from and to looks like this  
`{ name: "from", label: "Start date", sticky: true}, { name: "to", label: "End date", sticky: true}`  
also it is defined elsewhere in the code as:  
`{ name: "from", label: "Start Date" }, { name: "to", label: "End Date" },`

---

<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:** [July 18, 2019, 4:16pm UTC](https://devforum.zoom.us/t/get-all-user-recordings-error-with-start-and-end-date/5078/4 "2019-07-18T16:16:13Z")

</div>

Hey @nsullivan,

I think you are passing in the `to` and `from` to the request body. It needs to be a query parameter.

I am unfamiliar with Workato, but double check you are passing the dates as a query parameter which goes in the url like this `https://api.zoom.us/v2/users/me/recordings?from=2019-06-01&to=2019-07-01`

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:34pm UTC](https://devforum.zoom.us/t/get-all-user-recordings-error-with-start-and-end-date/5078/5 "2020-08-21T18:34:48Z")

</div>

Closed on August 21, 2020, 6:34pm UTC


