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?
Our users won’t be logged on into Zoom. Is there anyway to leverage the fields without having to require the users from logging in? Currently the webhooks generates a random ID for these users.
Thanks for the reply. We are trying to match both the joined and left event with a user_id on our application. Here is our use-case:
Users log into our application
In our application, the users will click on a button that will redirect them to a meeting via the join_url we retrieved from creating a meeting in the API.
We’ll record the webhook of them joining and exiting and match them with our own user. For example: that user’s id on our application is ‘123’ and we want to know which of the join and exit events belong to them.
I see that the registrant_id can match with the user_id in the API you linked. However, is there a way to configure the webhook to utilize that registrant_id?
Ideally, we’ll be able to track incoming events and associate them with the users.
Currently the registrant_id only matches the id of the leave event. As a result, I cannot tell which user or registrant is triggering a join event until the exit occurs?
Here is are my thoughts:
Store the registrant_id and associate it with our internal User records.
Store the join event payload.
Store the leave event and match the id with the registrant_id I stored. Find the join event with the same user_id as the leave event.
Does this sound correct? And is there anyway for Zoom to send the registrant_id in the join event as the id?
The user_id does match but the id does not. The id is not present in the join event, because as you mentioned the user isn’t logged in. Any chance we get that id to be present for the join event?
You could also use the user_name field to match the registrants to participants.
Yep, I think we might be able to manage this too. Any chance that this could change by user inputs? That is if a user goes into the meeting and then changes their name. Will the name not match anymore between join and leave event?