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
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?