# End Meeting callback

**URL:** <https://devforum.zoom.us/t/end-meeting-callback/7168>\
**Category:** Web\
**Created:** [December 21, 2019, 9:36am UTC](https://devforum.zoom.us/t/end-meeting-callback/7168 "2019-12-21T09:36:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![work.amey27](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/work.amey27/32/1305_2.png) [@work.amey27](https://devforum.zoom.us/u/work.amey27)\
**Post date:** [December 21, 2019, 9:36am UTC](https://devforum.zoom.us/t/end-meeting-callback/7168/1 "2019-12-21T09:36:15Z")

</div>

i would like to know if we have a callback after end meeting is clicked…  
(Need a action when user clicks end meeting or leave meeting)

Any example would be helpfull of Web Sdk

---

<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:** [December 23, 2019, 5:38pm UTC](https://devforum.zoom.us/t/end-meeting-callback/7168/2 "2019-12-23T17:38:04Z")

</div>

Hey @work.amey27,

Once the End Meeting button is clicked, you will be taken to the specified [leaveUrl](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/start-join-meeting). This is essentially a callback. If you need to persist data to the leaveUrl, pass it in via a query or path param.

Or you can use our [Meeting Ended Webhook](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-ending).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![work.amey27](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/work.amey27/32/1305_2.png) [@work.amey27](https://devforum.zoom.us/u/work.amey27)\
**Post date:** [December 24, 2019, 1:02pm UTC](https://devforum.zoom.us/t/end-meeting-callback/7168/3 "2019-12-24T13:02:15Z")

</div>

ok thanks…solved my issue by leaveUrl option.

---

<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:** [December 26, 2019, 4:40pm UTC](https://devforum.zoom.us/t/end-meeting-callback/7168/4 "2019-12-26T16:40:04Z")

</div>

Great! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tools](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tools](https://devforum.zoom.us/u/tools)\
**Post date:** [April 18, 2020, 2:03am UTC](https://devforum.zoom.us/t/end-meeting-callback/7168/5 "2020-04-18T02:03:18Z")

</div>

the user is taken to leaveUrl no matter if user left the meeting or ended the meeting. How to know meeting was left but not ended ?

---

<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:** [April 20, 2020, 5:14pm UTC](https://devforum.zoom.us/t/end-meeting-callback/7168/6 "2020-04-20T17:14:31Z")

</div>

Hey @tools,

You can use [inMeetingServiceListener()](https://zoom.github.io/sample-app-web/ZoomMtg.html#inMeetingServiceListener) in the upcoming 1.8.0 release.

Or you can use our [Webhooks](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-left).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:14pm UTC](https://devforum.zoom.us/t/end-meeting-callback/7168/7 "2020-08-21T20:14:55Z")

</div>

Closed on August 21, 2020, 8:14pm UTC


