# Add events to handle both End & Leave Actions

**URL:** <https://devforum.zoom.us/t/add-events-to-handle-both-end-leave-actions/123797>\
**Category:** Feature Requests\
**Created:** [January 3, 2025, 6:08am UTC](https://devforum.zoom.us/t/add-events-to-handle-both-end-leave-actions/123797 "2025-01-03T06:08:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloudtech](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cloudtech/32/50060_2.png) [@cloudtech](https://devforum.zoom.us/u/cloudtech)\
**Post date:** [January 3, 2025, 6:08am UTC](https://devforum.zoom.us/t/add-events-to-handle-both-end-leave-actions/123797/1 "2025-01-03T06:08:20Z")

</div>

Dear,

I utilized Zoom Video SDK Toolkit for custom video application. In example code for closing an event there is only one call for both End & Leave video call, that’s

uitoolkit.onSessionClosed(this.sessionClosed)

My application need to have separate actions for both End and Leave button triggers. can you help me
