# Using join/leave webhooks with logged out users

**URL:** <https://devforum.zoom.us/t/using-join-leave-webhooks-with-logged-out-users/40073>\
**Category:** API and Webhooks\
**Created:** [January 8, 2021, 6:05pm UTC](https://devforum.zoom.us/t/using-join-leave-webhooks-with-logged-out-users/40073 "2021-01-08T18:05:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andres\_wec](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/andres_wec/32/16996_2.png) [@andres\_wec](https://devforum.zoom.us/u/andres_wec)\
**Post date:** [January 8, 2021, 6:05pm UTC](https://devforum.zoom.us/t/using-join-leave-webhooks-with-logged-out-users/40073/1 "2021-01-08T18:05:46Z")

</div>

**Description**  
We would like to map our users to participants of a meeting, even if they are not logged into Zoom and without requiring registration from their part.

We think we can [register them](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate) automatically when they go into the zoom meeting, however we do not know how to then map the registrant\_id to the ids we get back in the join/leave webhooks. Per the docs, the `id` and `email` only show up if the participant signed into Zoom which we do not want to force out users to do. We do get an `user_id` but we do not know how to match this with the `registrant_id` from the create registrant api.

**Which Endpoint/s?**  
[Participant Joined Meeting Webhook](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting)  
Participant Left Meeting Webhook (I cannot enter more links due to my dev account being new)  
Meeting Registrant Create (I cannot enter more links due to my dev account being new)

**Additional context**  
We are not married to these endpoints so if there is another way to solve our requirements then we would be happy with that too.

---

<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:** [January 11, 2021, 4:18pm UTC](https://devforum.zoom.us/t/using-join-leave-webhooks-with-logged-out-users/40073/2 "2021-01-11T16:18:42Z")

</div>

Hi @andres_wec ,

Thanks for reaching out about this, and good question.

You’re correct that if a user is not logged in, there’s not a garuanteed way to map the Registration ID to the ID provided in the Participant Joined webhook. This is an experience that we’re working on improving in the future.

However, you might consider utilizing our GET Meeting Participant Reports endpoint:

> **[Get Meeting Participant Reports - Reports - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportmeetingparticipants)**
>
> Get participant report for a past meeting.
> Scopes: report:read:admin
> 
> Rate Limit Label: Heavy
> Prerequisites:
> 
> Pro or a higher plan.
> 
> Authorization
> 
> Flo...

This returns the corresponding registration ID for a user in a meeting, if you provide the `include_fields=registrant_id` query param.

Let me know if this helps!

Best,  
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:** [February 11, 2021, 2:18am UTC](https://devforum.zoom.us/t/using-join-leave-webhooks-with-logged-out-users/40073/3 "2021-02-11T02:18:48Z")

</div>

Closed on February 11, 2021, 2:18am UTC

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