# List meeting API query only returning current date

**URL:** <https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717>\
**Category:** API and Webhooks\
**Created:** [April 11, 2020, 8:24pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717 "2020-04-11T20:24:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![abeyene](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@abeyene](https://devforum.zoom.us/u/abeyene)\
**Post date:** [April 11, 2020, 8:24pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/1 "2020-04-11T20:24:02Z")

</div>

**Description**  
Query date only returning today’s date only. I was trying to get 6 month data  
Starting from ‘2019-12-01’ to ‘2020-04-10’.  
I did pass the date format at query section

**Error**  
No error, I was trying to get Meets from the last 6 months.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth-2

**Which Endpoint/s?**  
[https://api.zoom.us/v2/metrics/meetings](https://api.zoom.us/v2/metrics/meetings)

**How To Reproduce (If applicable)**  
Send Get request for Meetings [https://api.zoom.us/v2/metrics/meetings](https://api.zoom.us/v2/metrics/meetings)

**Screenshots (If applicable)**  
“from”: “2020-04-10”,

**Additional context**  
I was trying to get data from the last 6 month calls, its only returning the current date only

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [April 11, 2020, 9:16pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/2 "2020-04-11T21:16:43Z")

</div>

Hello @abeyene!

Ah, you’re actually referring to the [Dashboard Metrics List Meetings API](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings) but that was no fault of yours, since it is labeled “List Meetings” in the docs. I’ll reach out to our team to improve the naming so it doesn’t conflict with [List Meetings API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings).

To answer your question, did you include the `type: "past"` in your query params per the **Request Parameters** accordian within the [Dashboard Metrics List Meetings API docs](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings)?

Also, if you read the details on the `from` query parameter, you will learn you cannot just set the `from` date to 6 months ago, because this API only allows requesting one month of data per request. So you will need to also set the `to` query parameter, and you will have to make six (6) requests for each of the six months (making sure to offset the `from` and `to` date query parameters accordingly for each subsequent request.

I think that should get you what you are seeking.

---

<div class="post-metadata">

**Author:** ![abeyene](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@abeyene](https://devforum.zoom.us/u/abeyene)\
**Post date:** [April 11, 2020, 9:57pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/3 "2020-04-11T21:57:05Z")

</div>

Hello @bdeanindy,

Thanks for your respond, i overlooked the type :past.

Even after I made type: past, and set the from and to date as below,

from '2019-12-01  
to '‘2019-12-30’  
I am still getting the last two days only.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/64975f5a99b42b792033a970e53343ba482d053f.png)  
Please see the image

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [April 11, 2020, 9:59pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/4 "2020-04-11T21:59:10Z")

</div>

I just tested, and I was able to retrieve these using that exact same formula.

What is the `total_records` property set to in the response body please?

---

<div class="post-metadata">

**Author:** ![abeyene](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@abeyene](https://devforum.zoom.us/u/abeyene)\
**Post date:** [April 11, 2020, 10:02pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/5 "2020-04-11T22:02:14Z")

</div>

I dont have value for it. What is yours?

---

<div class="post-metadata">

**Author:** ![abeyene](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@abeyene](https://devforum.zoom.us/u/abeyene)\
**Post date:** [April 11, 2020, 10:08pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/6 "2020-04-11T22:08:16Z")

</div>

@bdeanindy  
What was the from date for you?

---

<div class="post-metadata">

**Author:** ![abeyene](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@abeyene](https://devforum.zoom.us/u/abeyene)\
**Post date:** [April 11, 2020, 10:19pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/7 "2020-04-11T22:19:51Z")

</div>

@bdeanindy  
Please see the image, from date, I passed “2019-12-01” but it starting form “2020-04-10”

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7b8433a3f7fd37c8a57bad30d9d9eedd29bb197e.png)

Please advice

---

<div class="post-metadata">

**Author:** ![abeyene](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@abeyene](https://devforum.zoom.us/u/abeyene)\
**Post date:** [April 11, 2020, 11:10pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/8 "2020-04-11T23:10:37Z")

</div>

@bdeanindy Thanks for you help. I got it now

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [April 12, 2020, 3:18am UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/9 "2020-04-12T03:18:09Z")

</div>

Wonderful, glad you’re moving forward.

---

<div class="post-metadata">

**Author:** ![tamtiusha.kirtadze](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tamtiusha.kirtadze/32/8778_2.png) [@tamtiusha.kirtadze](https://devforum.zoom.us/u/tamtiusha.kirtadze)\
**Post date:** [June 5, 2020, 9:20am UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/10 "2020-06-05T09:20:51Z")

</div>

I have the same issue, what is the solution?

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 8, 2020, 7:48pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/11 "2020-06-08T19:48:16Z")

</div>

Hi @tamtiusha.kirtadze - This API needs to be queried in a period of 30 days.

For example: `?from=2020-12-01&to=2020-12-30`

---

<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, 9:55pm UTC](https://devforum.zoom.us/t/list-meeting-api-query-only-returning-current-date/12717/12 "2020-08-21T21:55:54Z")

</div>

Closed on August 21, 2020, 9:55pm UTC


