# GET /users/{userId}/meetings not returning future meetings

**URL:** <https://devforum.zoom.us/t/get-users-userid-meetings-not-returning-future-meetings/89775>\
**Category:** Meetings\
**Created:** [June 7, 2023, 2:45pm UTC](https://devforum.zoom.us/t/get-users-userid-meetings-not-returning-future-meetings/89775 "2023-06-07T14:45:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [June 7, 2023, 2:45pm UTC](https://devforum.zoom.us/t/get-users-userid-meetings-not-returning-future-meetings/89775/1 "2023-06-07T14:45:52Z")

</div>

**API Endpoint**  
GET /users/{userId}/meetings

**Description**  
I am trying to store the data for all Zoom meetings of a user account in a database. I am able to use the endpoint to download past meetings and store them, but when I try the parameters “upcoming” or “scheduled” with the “to” date set as much as 90 days in the future, I am getting no meetings returned.

Specifically, even when I specify the “to” date as 2023-09-30, I get the following 200 response:

```auto
{
    "from": "2023-06-07",
    "meetings": [],
    "next_page_token": "",
    "page_count": 0,
    "page_size": 300,
    "to": "2023-06-08",
    "total_records": 0
}

```

No matter what date I put as the “to” date with the type set to “scheduled” or “upcoming”, it always returns a “to” date of tomorrow. What’s more is I scheduled an event for both late today and a meeting for tomorrow just to get some data back, but I am still getting this same return with no meetings.

**Error?**  
No error message; getting a 200

**How To Reproduce**  
I am not doing anything in particular. The parameters I most recently tried are:  
params = ‘?type=upcoming&from=2023-06-07&to=2023-09-30&page\_size=300’

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [June 7, 2023, 4:57pm UTC](https://devforum.zoom.us/t/get-users-userid-meetings-not-returning-future-meetings/89775/2 "2023-06-07T16:57:40Z")

</div>

Hi @mdickens ,

> [@mdickens](#):
>
> No matter what date I put as the “to” date with the type set to “scheduled” or “upcoming”, it always returns a “to” date of tomorrow.

Could you please check if somehow a space is present before “to” and “from” in the URL as a similar behavior occurred with a previous developer:

> [@How to pass parameters into the recordings api](https://devforum.zoom.us/t/how-to-pass-parameters-into-the-recordings-api/82335/9):
>
> Somehow spaces end up before “to” and “from” and that appears to be causing the issue. I have now resolved it. The original problem appears to be that you can’t specify a from without a to date. These are provided as query parameters, so the JSON reference in the documentation is wrong.

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [June 7, 2023, 6:57pm UTC](https://devforum.zoom.us/t/get-users-userid-meetings-not-returning-future-meetings/89775/4 "2023-06-07T18:57:34Z")

</div>

There are no extra spaces or characters in my parameters which I included in the original response:

params = ‘?type=upcoming&from=2023-06-07&to=2023-09-30&page\_size=300’

Furthermore, if I change the from date to a date in the past, it updates correctly, but the furthest future date it will give me is tomorrow.

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [June 12, 2023, 2:18pm UTC](https://devforum.zoom.us/t/get-users-userid-meetings-not-returning-future-meetings/89775/5 "2023-06-12T14:18:57Z")

</div>

I was able to find a previously scheduled meeting for the user account in question in the Zoom Metrics reporting for past meetings. With that in mind, I tried the various types listed in the documentation to get this scheduled meeting to appear. When I tried “type=scheduled” and “type=previous\_meetings” per the documetnation, I did not get any results.

However, when I tried “type=past” (which is not listed in the documentation as an option), I was able to retrieve the meeting. This is especially confusing because the documentation says “type=scheduled” should pull ALL unexpired meetings, past, present, and future. Based on what I’m getting when testing, even though this is a business account, I’m only receiving results when “type=past” is included in the parameters.

**None of the type options listed in the documentation are returning any results!**
