# Comparing past and upcoming meeting occurrences

**URL:** <https://devforum.zoom.us/t/comparing-past-and-upcoming-meeting-occurrences/45277>\
**Category:** API and Webhooks\
**Created:** [March 9, 2021, 9:03pm UTC](https://devforum.zoom.us/t/comparing-past-and-upcoming-meeting-occurrences/45277 "2021-03-09T21:03:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew.boman](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@matthew.boman](https://devforum.zoom.us/u/matthew.boman)\
**Post date:** [March 9, 2021, 9:03pm UTC](https://devforum.zoom.us/t/comparing-past-and-upcoming-meeting-occurrences/45277/1 "2021-03-09T21:03:08Z")

</div>

**Description**  
Our application pulls in upcoming meeting occurrences to look at registered users so our staff can send out email reminders, etc.

Our application also pulls in previous meeting occurrences to compare attended and registered counts and users.

**Error**  
It would be great if Zoom made it possible to tie previous and upcoming meeting instances together so we could compare data. Unfortunately, after an occurrence happens, the uuid and occurrence\_id change.

For example, at “/past\_meetings/{meeting\_id}/instances”, uuid and occurrence\_id are structured like: “nYvNNxLRSEiTXaYTvOM5rA==”

But at “/meetings/{meeting\_id}”, uuid and occurrence\_id are structured like: “1624546800000”

Why do these change? Shouldn’t there be a field to identify meeting instances by that doesn’t arbitrarily change? Is there any way for an API consumer to compare previous and upcoming meeting occurrences?

**Which Endpoint/s?**  
“/past\_meetings/{meeting\_id}/instances”  
“/meetings/{meeting\_id}”

**How To Reproduce (If applicable)**

1. Create a meeting with an occurrence in the future.
2. Query the API that provides upcoming meeting instances. Get the uuid and occurrence\_id
3. Wait for meeting instance to happen.
4. Query the API that provides previous meeting instances. Get the uuid and occurrence\_id.
5. You’ll see the same meeting instance has a different uuid and occurrence\_id before and after it has taken place.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 9, 2021, 10:00pm UTC](https://devforum.zoom.us/t/comparing-past-and-upcoming-meeting-occurrences/45277/2 "2021-03-09T22:00:17Z")

</div>

Hey @matthew.boman,

Thank you for reaching out to the Zoom Developer Forum. This is a topic that we’ve covered in a previous post, linked below. Essentially, there isn’t a good relationship between an occurrence\_id and the UUID that is assigned to a meeting when it is scheduled. I understand there is a need for this, and we have reached out to our engineering team, but it seems the best option is to use timestamps if your use-case requires that you map occurrence\_ids to UUIDS.

> [@Participant join/left webhook doesn't send occurrence id as well as actual meeting session start time for recurring meeting](https://devforum.zoom.us/t/participant-join-left-webhook-doesnt-send-occurrence-id-as-well-as-actual-meeting-session-start-time-for-recurring-meeting/43369/2):
>
> Hey @pritam1, Thank you for reaching out to the Zoom Developer Forum. This is a great question! It’s difficult to map occurrences to UUIDs for some of the same reasons that you mentioned here. For instance, let’s say we have the following meetings: occurrence 1: 03/01 occurrence 2: 03/03 occurrence 3: 03/05 Let’s say that the meeting hosts forgets to start the meeting on March 1st and then starts the meeting on March 2nd. It’s difficult to say which occurrence this belongs to. Is it 03/01 st…

Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![matthew.boman](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@matthew.boman](https://devforum.zoom.us/u/matthew.boman)\
**Post date:** [March 10, 2021, 3:13pm UTC](https://devforum.zoom.us/t/comparing-past-and-upcoming-meeting-occurrences/45277/3 "2021-03-10T15:13:18Z")

</div>

I’m noticing the timestamps aren’t the same either. Would this happen if a user started a meeting early?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 11, 2021, 7:46pm UTC](https://devforum.zoom.us/t/comparing-past-and-upcoming-meeting-occurrences/45277/4 "2021-03-11T19:46:46Z")

</div>

Hey @matthew.boman,

Yes, the timestamps can vary based on if the API returns the Actual Start Time of the meeting or the Scheduled Start Time of the meeting.

When it comes to mapping occurrence\_ids to UUIDs, the best option is to use custom logic to determine how close the Actual Start Time is to the Scheduled Start Time in order to figure out which occurrence\_id a UUID belongs to.

Let me know if that makes sense.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 11, 2021, 5:47am UTC](https://devforum.zoom.us/t/comparing-past-and-upcoming-meeting-occurrences/45277/5 "2021-04-11T05:47:39Z")

</div>

Closed on April 11, 2021, 5:47am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
