# Match Webhook Events to Automatic Registrants

**URL:** <https://devforum.zoom.us/t/match-webhook-events-to-automatic-registrants/34078>\
**Category:** API and Webhooks\
**Created:** [October 22, 2020, 9:43pm UTC](https://devforum.zoom.us/t/match-webhook-events-to-automatic-registrants/34078 "2020-10-22T21:43:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timscott](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@timscott](https://devforum.zoom.us/u/timscott)\
**Post date:** [October 22, 2020, 9:43pm UTC](https://devforum.zoom.us/t/match-webhook-events-to-automatic-registrants/34078/1 "2020-10-22T21:43:47Z")

</div>

**Description**  
We want to create a meeting and some registrants via the API. Then we want to know when registrants join and leave.

**Which Endpoint/s?**  
[https://api.zoom.us/v2](https://api.zoom.us/v2)

**How To Reproduce**

NOTE: Unimportant fields are removed for brevity and privacy. I can add any important ones I may have left out.

Create a meeting:

```
{
  "uuid": "6cZgo3elR1yheYO7+wix4Q==",
  "id": 95974452713,
  "host_id": "wW9d2YoQSPuEZwoPysLu0Q",
  "topic": "6543211",
  "type": 2,
  "status": "waiting",
  "start_time": "2020-10-22T20:51:52Z",
  "duration": 60,
  "timezone": "America/Chicago",
  "created_at": "2020-10-22T20:51:51Z",
  "settings": {
      "approval_type": 0,
      "enforce_login": false,
      "enforce_login_domains": "",
      "alternative_hosts": "",
      "close_registration": false,
      "show_share_button": true,
      "allow_multiple_devices": true,
      "registrants_confirmation_email": true,
      "registrants_email_notification": true,
      "meeting_authentication": false
  }
}

```

Then create some registrants:

```
GET /meetings/{meeting_id}/registrants
{
  "page_size": 30,
  "total_records": 3,
  "next_page_token": "",
  "registrants": [
      {
        "id": "dl_bhAjHTy2erZcMVTs_RQ",
        "first_name": "Client",
        "email": "333@calls.glgroup.com",
        "status": "approved",
        "create_time": "2020-10-22T20:52:41Z"
      },
      {
        "id": "NNshzJ5dT52GznTWA7at_w",
        "first_name": "Client",
        "email": "222@calls.glgroup.com",
        "status": "approved",
        "create_time": "2020-10-22T20:52:33Z"
      },
      {
        "id": "O6LGl9ULSha5eAiCl8Q_OA",
        "first_name": "Client",
        "email": "111@calls.glgroup.com",
        "status": "approved",
        "create_time": "2020-10-22T20:52:25Z"
      }
  ]
}

```

The look at incoming webhook payload for participant joined:

```
{
  "payload": {
    "account_id": "vruVXrjZRXG0rgzqRtYSRw",
    "object": {
      "uuid": "/JAZ67I/RmC3ugRXKr6Y8g==",
      "participant": {
        "user_id": "16782336",
        "user_name": "Client",
        "id": "_DFgu8W9TB6X-72za6Qwqg",
        "join_time": "2020-10-22T20:57:09Z"
      },
      "id": "95974452713",
      "type": 2,
      "topic": "6543211",
      "host_id": "wW9d2YoQSPuEZwoPysLu0Q",
      "duration": 60,
      "start_time": "2020-10-22T20:54:26Z",
      "timezone": "America/Chicago"
    }
  },
  "event": "meeting.participant_joined"
}

```

There seems to be no data in the webhook event that would allow me to tie it back to registrant. What am I missing?

---

<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:** [October 23, 2020, 6:35pm UTC](https://devforum.zoom.us/t/match-webhook-events-to-automatic-registrants/34078/2 "2020-10-23T18:35:49Z")

</div>

Hi @timscott,

Thanks for reaching out about this and for laying out the steps you’re taking. At the moment, you’re correct in that there is not a straight forward way to map these two IDs together. However, our team plans to release a mappable ID very soon to address this. In the meantime, please see this thread which offers some more context and suggestion for the meantime:

> [@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/107):
>
> Hey @FutureX, Thanks for sharing, yes this is the case we are working on improving. Right now the constant is the email they register with, it will pass through to the Get participants APIs: -Tommy

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:** [November 23, 2020, 4:35am UTC](https://devforum.zoom.us/t/match-webhook-events-to-automatic-registrants/34078/3 "2020-11-23T04:35:56Z")

</div>

Closed on November 23, 2020, 4:35am UTC

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