# Uniquely identify user based on the URL they have joined

**URL:** <https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547>\
**Category:** API and Webhooks\
**Created:** [March 25, 2020, 5:35am UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547 "2020-03-25T05:35:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gajus](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gajus/32/4089_2.png) [@gajus](https://devforum.zoom.us/u/gajus)\
**Post date:** [March 25, 2020, 5:35am UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/1 "2020-03-25T05:35:14Z")

</div>

I have a requirement to uniquely identify who has joined the meeting based on a parameter in the URL. We currently subscribe to web hooks which provide us information such as:

```
{
  event: 'meeting.participant_joined',
  account_id: '[REDACTED]',
  object: {
    duration: 1,
    start_time: '2020-03-25T04:53:45Z',
    timezone: 'America/Los_Angeles',
    topic: 'Snacks',
    id: '[REDACTED]',
    type: 2,
    uuid: '[REDACTED]',
    participant: {
      id: '[REDACTED]',
      user_id: '[REDACTED]',
      user_name: 'Gajus Kuizinas',
      join_time: '2020-03-25T04:53:45Z'
    },
    host_id: '[REDACTED]'
  }
}

```

The challenge is that we don’t have any link between `id` or `user_id` and our database, i.e. Is there a way to add unique ID to the meeting invitation ID that would appear in web hook information about the participant?, e.g.

`https://zoom.us/j/[REDACTED]?uid=foobar`

when used should produce:

```
{
  event: 'meeting.participant_joined',
  account_id: '[REDACTED]',
  object: {
    duration: 1,
    start_time: '2020-03-25T04:53:45Z',
    timezone: 'America/Los_Angeles',
    topic: 'Snacks',
    id: '[REDACTED]',
    type: 2,
    uuid: '[REDACTED]',
    participant: {
      uid: 'foobar',
      id: '[REDACTED]',
      user_id: '[REDACTED]',
      user_name: 'Gajus Kuizinas',
      join_time: '2020-03-25T04:53:45Z'
    },
    host_id: '[REDACTED]'
  }
}
```

---

<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 25, 2020, 7:07am UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/2 "2020-03-25T07:07:23Z")

</div>

Hey @gajus,

There is no way to do this via a URL, but it is built in using the registrant and participant IDs.

Please see my posts here for more details:

> [@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):
>
> Description I am trying to find a way to utilize the webhooks to determine when specific participants enter and leave a meeting created via API. We have a database of users on our application that we want to store their attendance within meetings. How can we map our users to the webhook data provided? What is the best way to map webhook event payloads to specific unique users on our application? Which App Type (OAuth / Chatbot / JWT / Webhook)? Webhook & JWT [https://marketplace.zoom.us/docs…](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting)

> [@What is user\_id in Dashboard API meeting participant?](https://devforum.zoom.us/t/what-is-user-id-in-dashboard-api-meeting-participant/8247/2):
>
> Hey @vicker, The user\_id is the id of the participant unique to a single meeting. It is used to map registrations to webhooks and the dashboard APIs. See this thread for more info: Thanks, Tommy

> [@What is easiest way to map user in my data base to one with in zoom apis?](https://devforum.zoom.us/t/what-is-easiest-way-to-map-user-in-my-data-base-to-one-with-in-zoom-apis/6548/2):
>
> Hey @gkapatia, I would suggest mapping Zoom users to users in your database via the userID. The userID is a globally unique user identifier. One easy way of doing this is by using the Participant Joined Meeting Webhook event and grabbing the payload \> object \> participant \> id (globally unique userID) and adding it to the respective user in your database. Let me know if that helps! Thanks, Tommy

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gajus](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gajus/32/4089_2.png) [@gajus](https://devforum.zoom.us/u/gajus)\
**Post date:** [March 25, 2020, 8:31am UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/3 "2020-03-25T08:31:28Z")

</div>

Very cool. Thank you

---

<div class="post-metadata">

**Author:** ![gajus](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gajus/32/4089_2.png) [@gajus](https://devforum.zoom.us/u/gajus)\
**Post date:** [March 25, 2020, 9:09am UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/4 "2020-03-25T09:09:25Z")

</div>

Unfortunately, that is not an option.

Turns out it only works for paid users.

```
{
    "code": 200,
    "message": "Only available for Paid user: [REDACTED]"
}

```

What are my options of users are not paid? (Which payment level does this require?)

---

<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 25, 2020, 8:47pm UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/5 "2020-03-25T20:47:11Z")

</div>

Hey @gajus,

Correct, the [dashboard endpoints](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetingparticipants) requires a [Business or a higher plan](https://zoom.us/pricing), and the [report endpoints](https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportmeetingparticipants) requires a [Pro or higher plan](https://zoom.us/pricing).

The Get Past Meeting Participant endpoint also requires a [Pro or higher plan](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/pastmeetingparticipants).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![VijayDwivedi](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@VijayDwivedi](https://devforum.zoom.us/u/VijayDwivedi)\
**Post date:** [August 19, 2020, 9:49pm UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/6 "2020-08-19T21:49:42Z")

</div>

To map our application user with zoom meeting participant, we are thinking of below approach, let us know if this is correct

1. Create meeting with registration enabled and automatic approval.
2. Get a unique join url for every participant using ‘meetings/{meetingId}/registrants’ POST API. Participants will join using their respective join urls.
3. Get meeting participant report using ‘report/meetings/{meetingId}/participants’ API. This provides the duration for which participant attended the meeting.

The ‘registrant\_id’ returned in step 2 will be same as participant ‘id’ returned in step 3. Using this we will be able to map our application user with zoom meeting participant.

Also, can we restrict joining a meeting only through unique url obtained in step 2? Without a unique url, no user should be able to join the meeting.

---

<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:** [August 21, 2020, 7:45pm UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/7 "2020-08-21T19:45:32Z")

</div>

Hey @VijayDwivedi,

Correct! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![VijayDwivedi](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@VijayDwivedi](https://devforum.zoom.us/u/VijayDwivedi)\
**Post date:** [August 29, 2020, 8:52am UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/8 "2020-08-29T08:52:00Z")

</div>

Thanks Tommy for confirming. Have couple of questions, which we are exploring to secure our meetings / webinars.

1. For registration enabled meetings & webinars, can we enforce only participants with a valid registrant url are able to join ?

2. Is it possible to hide meeting / webinar ID and password in the zoom client for participants?

---

<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:** [August 31, 2020, 9:43pm UTC](https://devforum.zoom.us/t/uniquely-identify-user-based-on-the-url-they-have-joined/9547/9 "2020-08-31T21:43:13Z")

</div>

Hey @VijayDwivedi,

> [@VijayDwivedi](#):
>
> For registration enabled meetings & webinars, can we enforce only participants with a valid registrant url are able to join ?

Yes, you can do this with Registration:

[https://support.zoom.us/hc/en-us/articles/211579443-Setting-up-registration-for-a-meeting](https://support.zoom.us/hc/en-us/articles/211579443-Setting-up-registration-for-a-meeting)

> [@VijayDwivedi](#):
>
> Is it possible to hide meeting / webinar ID and password in the zoom client for participants?

For Zoom Client questions, please reach out to [support.zoom.us](http://support.zoom.us). 🙂

Thanks,  
Tommy
