# Getting Participants For All Past Meetings

**URL:** <https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205>\
**Category:** API and Webhooks\
**Created:** [March 30, 2020, 4:37pm UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205 "2020-03-30T16:37:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![danish1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/danish1/32/4504_2.png) [@danish1](https://devforum.zoom.us/u/danish1)\
**Post date:** [March 30, 2020, 4:37pm UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205/1 "2020-03-30T16:37:05Z")

</div>

**Description**  
I am trying to write code to collect information on all participants in previous meetings. I am having trouble figuring how to do this exactly.

**What have I tried so far**  
I tried working with the following sequence of API calls

- Get meeting from `/users/{userId}/meetings`
- For each meeting
  - Get registrants from `/meetings/{meetingId}/registrants`
  - Get participants from `/report/meetings/{meetingId}/participants`

**Problem**  
It doesn’t quite capture the full list of users that we’re seen. The number ends up being lower than what we expected?

What would be the right way to collect this information?

---

<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:** [March 31, 2020, 5:01am UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205/2 "2020-03-31T05:01:42Z")

</div>

Hey @danish1,

Have you tried using the [Get Meeting Dashboard endpoint?](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![danish1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/danish1/32/4504_2.png) [@danish1](https://devforum.zoom.us/u/danish1)\
**Post date:** [April 7, 2020, 1:52pm UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205/3 "2020-04-07T13:52:25Z")

</div>

@tommy Thank you, no I haven’t tried that yet. It looks promising! Let me take a look and update this topic

---

<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:** [April 7, 2020, 9:07pm UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205/4 "2020-04-07T21:07:54Z")

</div>

Give it a try and let me know! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![danish1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/danish1/32/4504_2.png) [@danish1](https://devforum.zoom.us/u/danish1)\
**Post date:** [April 28, 2020, 8:14pm UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205/5 "2020-04-28T20:14:55Z")

</div>

@tommy I was finally able to give it a shot after upgrading our account. The dashboard end point works out great for what I wanted. It gives me pairs of `meeting_id` and `uuid` for each past instance.

Now for each instance, I need registrations and participants. I can get the specific participants for an instance from

`https://api.zoom.us/v2/past_meetings/<uuid>/participants`

**However, how do I get registrants for that specific instance?**

I know there is [List Meeting Registrant](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrants) endpoint. However, that required an `occurance_id`. Where and how do I get that?

---

<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:** [May 5, 2020, 4:38pm UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205/6 "2020-05-05T16:38:07Z")

</div>

Hey @danish1,

Happy to hear its working great! 🙂

The `occurance_id` for the [List Meeting Registrant endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrants) is so you can specify which occurrence the meeting is if it was a recurring meeting.

You can get a list of occurrences from the [Get a Meeting endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting) in the occurrences object.

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, 9:03pm UTC](https://devforum.zoom.us/t/getting-participants-for-all-past-meetings/10205/7 "2020-08-21T21:03:00Z")

</div>

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


