# How to quit meeting when time exceeds duration

**URL:** <https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810>\
**Category:** API and Webhooks\
**Created:** [January 15, 2024, 7:46am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810 "2024-01-15T07:46:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev28](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@dev28](https://devforum.zoom.us/u/dev28)\
**Post date:** [January 15, 2024, 7:46am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810/1 "2024-01-15T07:46:07Z")

</div>

(We are ISV Partner)  
Hello?  
Can we quit the meeting if meeting time exceeds duration limit by Zoom API?

For example, we want to set duration limit ‘40 minute’.  
In this case, when zoom meeting lasted more than 40 minutes, the meeting should be quited.

It looks like zoom free plan.  
When meeting lasted more than 40 minutes, the meeting was forced to quit.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [January 17, 2024, 5:18am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810/2 "2024-01-17T05:18:18Z")

</div>

@dev28

please tag me in your response.

Are you on API plan, yet when you host a meeting, it will end automatically after 40 mins?

Do check that the host of the meeting has been assigned a license.

---

<div class="post-metadata">

**Author:** ![dev28](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@dev28](https://devforum.zoom.us/u/dev28)\
**Post date:** [January 17, 2024, 5:33am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810/3 "2024-01-17T05:33:38Z")

</div>

@chunsiong.zoom

Hello? thank you for your reply.  
We are ISV Partner which means we have API Plan.

And I received solution by other person.  
it seems that there is not API solution to set the meeting time limit(duration).

> [@How to set the duration limit?](https://devforum.zoom.us/t/how-to-set-the-duration-limit/101966):
>
> Hello? Can we quit the meeting if meeting time exceeds duration limit by Zoom API? For example, we want to set duration limit ‘40 minute’. In this case, when zoom meeting lasted more than 40 minutes, the meeting should be quited. It looks like zoom free plan. When meeting lasted more than 40 minutes, the meeting was forced to quit.

Regards.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [January 17, 2024, 5:46am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810/4 "2024-01-17T05:46:42Z")

</div>

@dev28 ,

For the REST API to create meeting, there is a duration field which you can see the duration of the meeting.

---

<div class="post-metadata">

**Author:** ![dev28](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@dev28](https://devforum.zoom.us/u/dev28)\
**Post date:** [January 17, 2024, 6:04am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810/5 "2024-01-17T06:04:14Z")

</div>

@chunsiong.zoom

However, I know `duration` value doesn’t mean time limit of meeting.  
for example, Although I set the duration field ‘40’ and meeting goes on over 40 minutes,  
the meeting doesn’t quit.

I want to use function in zoom api that when meeting goes on over than ‘time limit’ preset, the meeting will be closed.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [January 17, 2024, 6:49am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810/6 "2024-01-17T06:49:12Z")

</div>

@dev28

I understand. From our API, here’s what needs to be done.

Use the webhook for [meeting.started](https://developers.zoom.us/docs/api/rest/reference/zoom-api/events/#tag/meeting) event, implement a timer or microservice on your side which will call the [end meeting AP](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingStatus)I in 40 mins

---

<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:** [January 18, 2024, 6:49am UTC](https://devforum.zoom.us/t/how-to-quit-meeting-when-time-exceeds-duration/101810/7 "2024-01-18T06:49:52Z")

</div>

Closed on January 18, 2024, 6:49am UTC

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