# Participant Joined Webhook – Mapping user\_id to registrant\_id

**URL:** <https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006>\
**Category:** API and Webhooks\
**Created:** [April 14, 2020, 1:41am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006 "2020-04-14T01:41:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankurk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ankurk/32/5808_2.png) [@ankurk](https://devforum.zoom.us/u/ankurk)\
**Post date:** [April 14, 2020, 1:41am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/1 "2020-04-14T01:41:08Z")

</div>

**Description**  
I’d like some clarification on the intended function of “user\_id” in the participant joined webhook payload.

From the list registrants endpoint, the “registrant\_id” seems to be a string, whereas “user\_id” is an int. So, are these two fields not the same? Looking in the Zoom Forum History, @tommy I think you were saying here ([Mapping join and leave of participants webhook events with users on our application](https://devforum.zoom.us/t/mapping-join-and-leave-of-participants-webhook-events-with-users-on-our-application/8116/8)) that these ought to be the same.

So… if user\_id doesn’t map to that… does it really map to anything?

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
Webhook – Participant Joined  
OAuth V2 – List/Add Participants

Thanks for your time in looking at this!

Assuming all of our users are logged out: If user\_id and registrant\_id are not matching, the only way I can see to match registrants against joiners is by doing a string comparison on the name. Is that correct?

---

<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 14, 2020, 6:36pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/2 "2020-04-14T18:36:29Z")

</div>

Hey @ankurk,

Please see if my post here answers your question:

> [@Unable to map meeting registrant id with live participant id](https://devforum.zoom.us/t/unable-to-map-meeting-registrant-id-with-live-participant-id/6862/5):
>
> Hey @saurabh, I will add this as a feature request, to not override the registrant\_id with the user Id when joining a meeting via the registrants join\_url while being logged in. Or maybe the best solution is to add a registrant\_id field that always includes the registrant\_id, or if registration is not required, is blank. [Per the description in the docs:](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetingparticipants#responses) “Universally unique identifier of the Participant. It is the same as the User ID of the participant if the participant joins the meeting by …

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ankurk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ankurk/32/5808_2.png) [@ankurk](https://devforum.zoom.us/u/ankurk)\
**Post date:** [April 14, 2020, 6:54pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/3 "2020-04-14T18:54:09Z")

</div>

Thanks for your reply Tommy, hi! In your post you’re talking really about a logged in user and their Zoom user id overwriting the registrant\_id in the “id” field of the payload.

My query is a bit different:

We’re trying to track the un-logged-in users who join via their registration link. At this time, it looks like the only way to do that is to match on user\_name.

The registrant\_id we get back when we register them (or by list participants) is never again shared with us in the webhook payload. Is that the intended API behavior?

---

<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 15, 2020, 11:20pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/4 "2020-04-15T23:20:45Z")

</div>

Hey @ankurk,

The registrant\_id should be the `id` in the [participant webhooks](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting):

![Screen Shot 2020-04-15 at 5.20.07 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/28dbd03ac46dac6e8c7b534506ec8e2e006f493f.png)

Are you seeing something different for the `id` field?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ankurk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ankurk/32/5808_2.png) [@ankurk](https://devforum.zoom.us/u/ankurk)\
**Post date:** [April 16, 2020, 12:11am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/5 "2020-04-16T00:11:55Z")

</div>

> [@ankurk](#):
>
> We’re trying to track the un-logged-in users who join via their registration link.

Our main goal – we’re trying to track un-logged-in users. So, the `id` field is blank unfortunately. I would looooove to be able to get the `registrant_id` there always!! Wish it was so…

It’s pretty weird that we have no way of identifying our registrant’s joining with this webhook if they are logged out but join with their registration link.

---

<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 16, 2020, 6:42am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/6 "2020-04-16T06:42:10Z")

</div>

Hey @ankurk,

If you are seeing that, it is a bug.

If a participant joins via registration URL and is not logged in, the `id` will be the same as their `registrant_id`.

Please see the description in the screenshot of the docs I sent ^

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ankurk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ankurk/32/5808_2.png) [@ankurk](https://devforum.zoom.us/u/ankurk)\
**Post date:** [April 16, 2020, 1:36pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/7 "2020-04-16T13:36:22Z")

</div>

Hey Tommy, I can confirm:

When a participant joins with their registration link, and they are not logged in, the `id` field in the participant webhook is blank.

So… it is a bug. What now?

---

<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 18, 2020, 12:05am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/8 "2020-04-18T00:05:33Z")

</div>

Hey @ankurk,

Yes, seems like a bug. Can you private message me a few meeting ids so we can take a look?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gamebooker](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gamebooker/32/16841_2.png) [@gamebooker](https://devforum.zoom.us/u/gamebooker)\
**Post date:** [April 23, 2020, 6:37pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/9 "2020-04-23T18:37:38Z")

</div>

Yes, I am waiting for the same situation. I need registerrant\_id information via webhook.

---

<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 27, 2020, 3:49pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/10 "2020-04-27T15:49:25Z")

</div>

Thanks @gamebooker,

We are looking into the issue and will get back to you. (ZOOM-155849)

-Tommy

---

<div class="post-metadata">

**Author:** ![trafo](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@trafo](https://devforum.zoom.us/u/trafo)\
**Post date:** [May 14, 2020, 3:24pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/11 "2020-05-14T15:24:40Z")

</div>

Hi, any progress on this issue?

We also have use-case where we need registrant\_id to track if people showed up.

---

<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 19, 2020, 4:26pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/12 "2020-05-19T16:26:41Z")

</div>

Hey @trafo,

Please email your meeting number to [developersupport@zoom.us](mailto:developersupport@zoom.us) and a description of your issue.

Thanks,  
tommy

---

<div class="post-metadata">

**Author:** ![dsousa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dsousa/32/8839_2.png) [@dsousa](https://devforum.zoom.us/u/dsousa)\
**Post date:** [May 20, 2020, 10:47am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/13 "2020-05-20T10:47:14Z")

</div>

Hi @tommy,

We have the exact same problem here.

Our workflow is as follows:

1. We add meeting registrants via the Zoom API with this call:  
`POST /meetings/{meetingId}/registrants`

2. From the response we get the `registrant_id`.

3. We then listen to the `participant_joined` [webhook](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting) in order to know when the user we registered in step 1 joins the meeting.

4. From the payload of the webook call we get 2 IDs:

- `user_id`: As per the documentation _This is the participant id_ and has no correlation whatsoever with the previous `registrant_id` we got in step 1, so we can’t use it to correlate the joining user with the registrant.
- `id`: As per documentation this can assume 3 different values:  
– `registrant_id`: If the **user is logged in**  **AND**  **joins via a private URL** from a previous registration  
– `userId`: If the **user is logged in** AND wasn’t registered, then this is their Zoom unique userId  
– `blank`: If the user is **not logged in**

1. From what we get on point 4, we are only able to correlate the participant with the previously registered user **IF AND ONLY IF the user is logged in**. If the user is not logged in the `id` field we get in step 4 is **always blank**.

Having said this, how can we correlate a `participant` that joins with a private URL with the previously created `registrant` if the user is not logged in?

**Suggestion:**  
You can simply include the `registrant_id` as a separate/new field in the webhook payload that assumes the registrant\_id value for participants that join with a private url, or is blank if participants weren’t registered beforehand.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 26, 2020, 8:59pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/14 "2020-05-26T20:59:40Z")

</div>

Hi @dsousa, this is a great suggestion. We’re working on finding a solution to map user identity to registration. We’re not actively working on this, as we’re currently focused on security & privacy reviews, but we’ll add this suggestion into our planning.

---

<div class="post-metadata">

**Author:** ![neecholai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/neecholai/32/4241_2.png) [@neecholai](https://devforum.zoom.us/u/neecholai)\
**Post date:** [May 31, 2020, 5:53pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/15 "2020-05-31T17:53:14Z")

</div>

We have the same exact issue that @dsousa highlighted.

@michael.zoom could you please get this feature added in as soon as possible?

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 1, 2020, 2:54pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/16 "2020-06-01T14:54:58Z")

</div>

Hi @neecholai Our engineering & product teams are working exclusively on Security & Privacy reviews, but we’ll do our best to prioritize this after our 90 day feature freeze 🙂

---

<div class="post-metadata">

**Author:** ![develapweb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/develapweb/32/4137_2.png) [@develapweb](https://devforum.zoom.us/u/develapweb)\
**Post date:** [June 16, 2020, 3:27am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/17 "2020-06-16T03:27:47Z")

</div>

Same here… registrant\_idn obtained on the /meetings/{meeting\_id}/registrants service does not map to the participant\_joined data that is available when users join the webinar…

---

<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:** [June 18, 2020, 7:28am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/18 "2020-06-18T07:28:03Z")

</div>

Hey @develapweb,

We are aware of an edge case here and are working to fix as soon as possible. (ZOOM-167980)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![CISIA](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@CISIA](https://devforum.zoom.us/u/CISIA)\
**Post date:** [June 21, 2020, 11:07am UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/19 "2020-06-21T11:07:11Z")

</div>

Hi everyone, we’re having the same issue.

Any update on the fix ?

---

<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:** [June 23, 2020, 9:36pm UTC](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006/20 "2020-06-23T21:36:08Z")

</div>

Hey @CISIA,

This issue should be fixed in Zoom Client release 5.1.1.

Stay updated here:

[https://support.zoom.us/hc/en-us/sections/201214205-Release-Notes](https://support.zoom.us/hc/en-us/sections/201214205-Release-Notes)

Thanks,  
Tommy

[Next page](https://devforum.zoom.us/t/participant-joined-webhook-mapping-user-id-to-registrant-id/13006.md?page=2)
