# \[Component View\] How do I know when the meeting is over?

**URL:** <https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944>\
**Category:** Web\
**Created:** [April 3, 2023, 5:50pm UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944 "2023-04-03T17:50:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [April 3, 2023, 5:50pm UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/1 "2023-04-03T17:50:25Z")

</div>

I am using component view mode. How can I check when the host ends the meeting? What events can I trigger?

Thank you in advance.

Best regards,  
John

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [April 3, 2023, 6:16pm UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/2 "2023-04-03T18:16:54Z")

</div>

@tuanthinhit,

Thank you for your question! To check when a meeting has ended, you can listen to the meeting ended Webhook event. The payload will contain information about the meeting.

# End Meeting

[https://developers.zoom.us/docs/meeting-sdk/webhooks/#operation/meeting.ended](https://developers.zoom.us/docs/meeting-sdk/webhooks/#operation/meeting.ended)

Here is an example payload for your reference:

```auto
{
  "event": "meeting.ended",
  "event_ts": 1626230691572,
  "payload": {
    "account_id": "AAAAAABBBB",
    "operator": "admin@example.com",
    "operator_id": "z8yCxjabcdEFGHfp8uQ",
    "operation": "single",
    "object": {
      "id": "1234567890",
      "uuid": "4444AAAiAAAAAiAiAiiAii==",
      "host_id": "x1yCzABCDEfg23HiJKl4mN",
      "topic": "My Meeting",
      "type": 3,
      "start_time": "2021-07-13T21:44:51Z",
      "timezone": "America/Los_Angeles",
      "duration": 60,
      "end_time": "2021-07-13T23:00:51Z"
    }
  }

```

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [April 6, 2023, 5:08pm UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/3 "2023-04-06T17:08:18Z")

</div>

Hi @donte.zoom

- Thank you for your reply. Let me check.
- And i have a question. Let’s say when I’m in Gallery View. Then I turned on the Share screen. then it switches to Ribbon view with screen sharing. Is there a way for me to return to Gallery view mode when I disable screen sharing?  
Thank you in advance.

Best regards,  
John

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [April 7, 2023, 10:55am UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/4 "2023-04-07T10:55:04Z")

</div>

@tuanthinhit ,

To clarify, are you asking if it is possible to programmatically return to Gallery view mode with the Web SDK ?

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [April 9, 2023, 3:35pm UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/5 "2023-04-09T15:35:30Z")

</div>

Hi @donte.zoom

- Yep. I want to how to return Gallery View mode on the Components View meeetings sdk web.

Best regards

---

<div class="post-metadata">

**Author:** ![thinh.pv](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@thinh.pv](https://devforum.zoom.us/u/thinh.pv)\
**Post date:** [April 11, 2023, 3:07am UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/6 "2023-04-11T03:07:27Z")

</div>

Hi @donte.zoom

- Do you have any updates on this?

Best regards

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [April 11, 2023, 1:24pm UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/7 "2023-04-11T13:24:21Z")

</div>

@thinh.pv and @tuanthinhit ,

Currently, there is no API or SDK function for programmatically returning Gallery View mode.

Let us know if you have any questions about this.

---

<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:** [May 11, 2023, 11:24pm UTC](https://devforum.zoom.us/t/component-view-how-do-i-know-when-the-meeting-is-over/85944/8 "2023-05-11T23:24:31Z")

</div>

Closed on May 11, 2023, 11:24pm UTC

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