# Zoom rooms past meetings list

**URL:** <https://devforum.zoom.us/t/zoom-rooms-past-meetings-list/23048>\
**Category:** API and Webhooks\
**Created:** [July 2, 2020, 4:46pm UTC](https://devforum.zoom.us/t/zoom-rooms-past-meetings-list/23048 "2020-07-02T16:46:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert.macaulay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/robert.macaulay/32/2787_2.png) [@robert.macaulay](https://devforum.zoom.us/u/robert.macaulay)\
**Post date:** [July 2, 2020, 4:46pm UTC](https://devforum.zoom.us/t/zoom-rooms-past-meetings-list/23048/1 "2020-07-02T16:46:50Z")

</div>

**Description**  
The `/metrics/zoomrooms/{zoomroomId}` endpoint’s `past_meetings` response is strange

**Which Endpoint?**  
`/metrics/zoomrooms/{zoomroomId}`

**What I found**  
The `past_meetings` object under the response to the zoomRoomsDetail api is a nested object that is paginated. I’ve written code that understands pagination generically for all apis that are paginated, which means they return the `next_page_token` at the root of the response object. This one nests it in `past_meetings`, which means custom code would be required to iterate over those should someone want to query a rooms past meetings

**What I’d like**  
Keep that api all alone for backwards compatibility. I’ll use it to get the room details, including live meetings. Maybe add a query param that says “noPastMeetings” that’ll let me indicate that I don’t need the `past_meetings`(would be an optimization only).

Then, add a new api,  
`/metrics/zoomrooms/{zoomroomId}/pastMeetings`  
that would be a “normal” paginated response that I could use to pull past meetings if I wanted to.

The query params for the `/metrics/zoomrooms/{zoomroomId}` make a lot more sense in context of a call against `/metrics/zoomrooms/{zoomroomId}/pastMeetings` since it would become a normal bulk API response in that case.

---

<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 7, 2020, 1:34am UTC](https://devforum.zoom.us/t/zoom-rooms-past-meetings-list/23048/2 "2020-07-07T01:34:15Z")

</div>

Hey @robert.macaulay,

That is defiantly not consistent with our other APIs.

Let me see if I can get this changed. (ZOOM-174979)

Thanks,  
Tommy

---

<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, 10:35pm UTC](https://devforum.zoom.us/t/zoom-rooms-past-meetings-list/23048/3 "2020-08-21T22:35:36Z")

</div>

Closed on August 21, 2020, 10:35pm UTC


