# Problem grouping the sessions of the same user into a meeting

**URL:** <https://devforum.zoom.us/t/problem-grouping-the-sessions-of-the-same-user-into-a-meeting/60060>\
**Category:** API and Webhooks\
**Created:** [November 10, 2021, 11:42am UTC](https://devforum.zoom.us/t/problem-grouping-the-sessions-of-the-same-user-into-a-meeting/60060 "2021-11-10T11:42:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexLab](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@AlexLab](https://devforum.zoom.us/u/AlexLab)\
**Post date:** [November 10, 2021, 11:42am UTC](https://devforum.zoom.us/t/problem-grouping-the-sessions-of-the-same-user-into-a-meeting/60060/1 "2021-11-10T11:42:19Z")

</div>

**Description**  
Hi I have a problem when I try to group the same user who has entered several times in a meeting. By calling the participants API, some of them have different id and user\_id, even if they are the same person. Why does this happen? How can I sum the duration of these sessions if I don’t have a unique key that identifies the same user?

**Error**  
Different id and user\_id for same person in meeting

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Using API with JWT token authorization

**Which Endpoint/s?**  
/report/meetings/:meetingId/participants

**Screenshots (If applicable)**  
[Screenshot json data](https://drive.google.com/file/d/1EY9FBZRb_72YtYtSxkV6wJG-EqxqFJDR/view)

**Additional context**  
I noticed that from the zoom dashboard the report files are able to group the user, why is this not possible from the API?  
[Screenshot dashboard zoom](https://drive.google.com/file/d/1eAUTkfXqIXWXHz8r6Dswj3Cfvj4RgWuO/view)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 15, 2021, 9:52am UTC](https://devforum.zoom.us/t/problem-grouping-the-sessions-of-the-same-user-into-a-meeting/60060/2 "2021-11-15T09:52:20Z")

</div>

@AlexLab,

This can happen if the user is not authenticated/signed in to Zoom when they join the meeting. As a result, each time they leave and re-join, they’ll be interpreted as a new guest user.

Have you considered enabling [registration](https://support.zoom.us/hc/en-us/articles/211579443-Registration-for-Meetings?mobile_site=true). This could help to prevent this.

Let me know if this helps,  
Will

---

<div class="post-metadata">

**Author:** ![AlexLab](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@AlexLab](https://devforum.zoom.us/u/AlexLab)\
**Post date:** [November 15, 2021, 10:01am UTC](https://devforum.zoom.us/t/problem-grouping-the-sessions-of-the-same-user-into-a-meeting/60060/3 "2021-11-15T10:01:24Z")

</div>

Hi Will, thanks for the support. But why is the same user grouped from the dashboard?  
how does the dashboard manage to group it? which field does it use?  
thanks

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 17, 2021, 1:53pm UTC](https://devforum.zoom.us/t/problem-grouping-the-sessions-of-the-same-user-into-a-meeting/60060/4 "2021-11-17T13:53:45Z")

</div>

Hey @AlexLab,

The API response and the dashboard are not a 1:1 match in how they query/display data. However, do you know if there was a waiting room for this meeting? This can also appear as separate join instances for a meeting if a participant was admitted to the waiting room and then admitted to the meeting.

Let me know—thanks!  
Will

---

<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:** [December 17, 2021, 11:54pm UTC](https://devforum.zoom.us/t/problem-grouping-the-sessions-of-the-same-user-into-a-meeting/60060/5 "2021-12-17T23:54:16Z")

</div>

Closed on December 17, 2021, 11:54pm UTC

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