How to get meeting event of meeting.endedbyhost

was using meeting.ended event for some time but it is triggered even if the participant join and leave the meeting before host, is it possible to get meeting.endedbyhost or any other event only when host ends the meeting…
Thank you.

Hey @mudassir, thanks for posting and using Zoom!

The Meeting Ended event should only be triggered when the Host of the meeting ends the meeting.

“The Meeting Ended event is triggered every time a meeting host ends the meeting. The host must be a user in your account or a user in any other accounts that have installed your webhook-enabled app.”

To prevent the event being fired when a participant leaves before the host is in the meeting, is to disable the join before host feature.

You could also use the host_id property in the Meeting Ended Webhook payload to compare against the host of the meeting.