# Meeting ended still status showing as "waiting"

**URL:** <https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893>\
**Category:** API and Webhooks\
**Created:** [September 11, 2020, 9:43am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893 "2020-09-11T09:43:14Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 11, 2020, 9:43am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/1 "2020-09-11T09:43:14Z")

</div>

Hello team, I’m using Zoom Create Meeting API using JWT to create a meeting in our website,  
but when i press “End meeting for All”, is it really ending the meeting as i checked the status through Get Meeting API through Zoom API reference the status shows as “waiting”

Also, when i use Update Meeting status API, i pass all the required headers like JWT token,Meeting id and Content/type but i get the response as “null”. When i checked my API call logs i see response as “N/A”. When i browsed the url it shows as “Access token not valid” but as i am using JWT method i passed proper JWT token but i can’t actually get it.

I’m using JWT App type.

Endpoints after i call the Update Meeting Status it’s [https://api.zoom.us/v2/meetings/98041601342/status](https://api.zoom.us/v2/meetings/98041601342/status)  
but i have doubt as i press “End meeting for All” through zoom should it not send and response automatically stating “Meeting ended”? Can it be done automatically?

---

<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:** [September 11, 2020, 9:43am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/2 "2020-09-11T09:43:59Z")

</div>

Hey @nike28

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout these related threads that may have the answer you are looking for:

> [@Meeting status as completed](https://devforum.zoom.us/t/-/356):
>
> &nbsp;Hi Team , I &nbsp;need clarification regarding the status of meeting from REST API whether it is completed or started or ended . I am calling Get Meeting Info .it is providing the status 0 -meeting not yet started and 1- meeting started. But i am not getting the status as 2 at all even thouh meeting is completed/ended Can you please help me on this query? &nbsp; Thanks, Pranay

> [@How can i check who end the meeting](https://devforum.zoom.us/t/-/5956):
>
> Hi, how can i check who is end the meeting. When user leave the meeting i get data who leave the meeting and get participant info but when meeting end i did not get data who end the meeting

> [@User in meeting status](https://devforum.zoom.us/t/-/2818):
>
> Is it possible to retrieve the user’s current meeting status? I’ve got the web hooks working for meeting\_started and meeting\_ended, but if reboot my server after it started (and before it ends), I can’t tell if the user is in meeting or not.

If these threads did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 12, 2020, 7:47am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/3 "2020-09-12T07:47:00Z")

</div>

Ok thanks. I have will check it and will revert you. Can you also help me with JWT Token expiration? How can i create a token which doesn’t expire? Cause everytime, i have to go to my app and create it manually? I have heard about [JWT.io](http://JWT.io) library or so but i didn’t actually get it, like how do i use it? I’m using Codeigniter/PHP technology. Is it possible that you provide me some sample code which we allow me create a permanent JWT token or a token that never expires?

Thank you!!

Regard,  
Nikhil Sreenivasan.

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 12, 2020, 9:31am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/4 "2020-09-12T09:31:47Z")

</div>

Hello, I had referred to the solutions which you had suggested, i had created fresh meeting with type 2 which is scheduled meeting and i had given duration of 10 minutes, also there were total 4 participants including me still after i(host) ended it for all but i get the status as “waiting”. Why is it so? Can you guys help me with this? If any details are required from my end, please let me know.

Regards,  
Nikhil Sreenivasan.

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 14, 2020, 10:53am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/5 "2020-09-14T10:53:05Z")

</div>

@tommy Hey buddy!! Can you please help me with this? I’m really stuck with this status issue!! Hope to get a reply soon. If anything is required from my end, please let me know.  
Thank you!!

Regards,  
Nikhil Sreenivasan.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 15, 2020, 7:49pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/6 "2020-09-15T19:49:07Z")

</div>

Hi @nike28,

In regards to the ‘waiting’ status you’re seeing after ending the meeting, can you confirm if the meeting you’re referencing when testing is either 1) a recurring meeting, or 2) an instant meeting? For each of these meeting types, the status for the meeting will go back to “waiting” after the meeting has ended.

As for the JWToken expiration, I should note that JWTokens must expire—however, you can control how long they last. From within your JWT app in the Marketplace section of your account, you can click into **View JWT token** and select how long your token will last:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c21a89fa75ccf83bb1b93de7db7661d31adea915.png)

I hope this helps!

Best,  
Will

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 16, 2020, 3:05am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/7 "2020-09-16T03:05:11Z")

</div>

Hello @will.zoom,

Thank you for your response. I had created a scheduled meeting as i had already seen on developer forum that instant and recurring meeting status goes back to ‘waiting’, and also i had set ‘pmi’ parameter to false as well. If you want any details, i will create a fresh scheduled meeting and provide you the details as that meeting’s token might have expired already.

Also, with regards to JWT token is there any maximum time limit for it’s expiration? Like, can i set to expire after 1 year or 2 year through this below code?

private function generateJWTKey() {  
$key = $this-\>zoom\_api\_key;  
$secret = $this-\>zoom\_api\_secret;  
$token = array(  
“iss” =\> $key,  
“exp” =\> time() + 3600 //60 seconds as suggested  
);

Regards,  
Nikhil Sreenivasan.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 17, 2020, 5:30pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/8 "2020-09-17T17:30:57Z")

</div>

Hey @nike28,

Thanks for clarifying, if you’re able to create a new meeting and replicate the behavior, it’d be great if you could share those specific details so I can help to debug!

In reference to the JWT token expiration, we recommend setting it at a shorter interval, though the UI will allow you to set the expiration date out as far as a year or more. But again, best practice would be to keep this duration of validity a bit shorter.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 19, 2020, 3:36pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/9 "2020-09-19T15:36:46Z")

</div>

Hello @will.zoom,

I have created another scheduled meeting, use\_pmi to false for 19th Sept 20:55 IST and scheduled it for 5 minutes. I have tested it with 4 participants including me(Host) and ended it from zoom as well. I’m providing UUID and meeting id for your reference, if anything else is required please feel free to ask.  
Details:  
UUID: d4GWmRruQLKkOOnrlYJ9fw==  
Meeting ID: 95003512214

Also from the code i have set the JWT token to expired after 30 days so that it doesn’t expire soon and it will be easy for me to give you the details after running Get Meeting API or so.

Thank you!!

Regards,  
Nikhil Sreenivasan

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 22, 2020, 3:50pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/10 "2020-09-22T15:50:30Z")

</div>

Hi @nike28,

Thanks for confirming and testing that. Can you share the API response you’re getting when you call the GET Meeting API, if you’re still seeing the ‘waiting’ status?

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 23, 2020, 12:19pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/11 "2020-09-23T12:19:44Z")

</div>

Hello @will.zoom,

Below is the API response i got after I ran Get API. Yes, it’s still showing as “waiting”.

{  
“agenda”: “”,  
“assistant\_id”: “”,  
“created\_at”: “2020-09-19T15:18:22Z”,  
“duration”: 5,  
“encrypted\_password”: “YlVhUHpPZ1QrSGc3dE5BellJOHMyQT09”,  
“h323\_password”: “410910”,  
“host\_email”: “[nikhil@appmonks.net](mailto:nikhil@appmonks.net)”,  
“host\_id”: “hd9rbpk9Qla3GGQTiA8dBw”,  
“id”: 95003512214,  
“join\_url”: “[https://zoom.us/j/95003512214?pwd=YlVhUHpPZ1QrSGc3dE5BellJOHMyQT09](https://zoom.us/j/95003512214?pwd=YlVhUHpPZ1QrSGc3dE5BellJOHMyQT09)”,  
“password”: “3tNxT5”,  
“pstn\_password”: “410910”,  
“settings”: {  
“alternative\_hosts”: “”,  
“approval\_type”: 2,  
“audio”: “voip”,  
“auto\_recording”: “none”,  
“close\_registration”: false,  
“cn\_meeting”: false,  
“enforce\_login”: false,  
“enforce\_login\_domains”: “”,  
“host\_video”: false,  
“in\_meeting”: false,  
“join\_before\_host”: false,  
“meeting\_authentication”: false,  
“mute\_upon\_entry”: false,  
“participant\_video”: false,  
“registrants\_confirmation\_email”: true,  
“registrants\_email\_notification”: true,  
“request\_permission\_to\_unmute\_participants”: false,  
“use\_pmi”: false,  
“waiting\_room”: true,  
“watermark”: false  
},  
“start\_time”: “2020-09-19T15:25:00Z”,  
“start\_url”: “[https://zoom.us/s/95003512214?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiJoZDlyYnBrOVFsYTNHR1FUaUE4ZEJ3IiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImNsdCI6MCwic3RrIjoiNmNGQlRFblpQWTJmTlN3d0RjWXI1THVuWVphTDRLeHNOamh5ZFpmX2RjUS5CZ1VnUm5SWVQyOUVOazk2U205VFNtTm9LeTlqZW5wUFlYRnFWa0p4Y25JM0swTkFPR001WVdGaE9UbGhNRGMwWWpjMlpHWXlPR1k1T1RRMlpqa3hZekZrTkdOa09HVmlOamc1TnpReU1XVm1Oamd3TmpOaE1XSTBZell4TVdReFl6STFZZ0FNTTBOQ1FYVnZhVmxUTTNNOUFBTmhkekUiLCJleHAiOjE2MDA4NzA2NjUsImlhdCI6MTYwMDg2MzQ2NSwiYWlkIjoibFFRUGQwaVBUTldDVmFETzJKVU9JZyIsImNpZCI6IiJ9.ZbesV4JjHCDrLItvkBDtTi6UrEPQ-nLi2VQ-8Yp02Nk](https://zoom.us/s/95003512214?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiJoZDlyYnBrOVFsYTNHR1FUaUE4ZEJ3IiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImNsdCI6MCwic3RrIjoiNmNGQlRFblpQWTJmTlN3d0RjWXI1THVuWVphTDRLeHNOamh5ZFpmX2RjUS5CZ1VnUm5SWVQyOUVOazk2U205VFNtTm9LeTlqZW5wUFlYRnFWa0p4Y25JM0swTkFPR001WVdGaE9UbGhNRGMwWWpjMlpHWXlPR1k1T1RRMlpqa3hZekZrTkdOa09HVmlOamc1TnpReU1XVm1Oamd3TmpOaE1XSTBZell4TVdReFl6STFZZ0FNTTBOQ1FYVnZhVmxUTTNNOUFBTmhkekUiLCJleHAiOjE2MDA4NzA2NjUsImlhdCI6MTYwMDg2MzQ2NSwiYWlkIjoibFFRUGQwaVBUTldDVmFETzJKVU9JZyIsImNpZCI6IiJ9.ZbesV4JjHCDrLItvkBDtTi6UrEPQ-nLi2VQ-8Yp02Nk)”,  
“status”: “waiting”,  
“timezone”: “Asia/Kolkata”,  
“topic”: “Test Meeting!!”,  
“type”: 2,  
“uuid”: “PJ5QrYAoQrCLnrxwEZM91w==”  
}

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 23, 2020, 9:53pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/12 "2020-09-23T21:53:59Z")

</div>

Hey @nike28,

Thank you for sharing this—Our team is taking a look at this (ZOOM-199977).

I’ll update here once I hear back.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 24, 2020, 5:37am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/13 "2020-09-24T05:37:35Z")

</div>

Hey @will.zoom,

Okay sure. Thank you!!

Regards,  
Nikhil Sreenivasan.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 24, 2020, 9:11pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/14 "2020-09-24T21:11:33Z")

</div>

Hey @nike28,

I was able to clarify with our Engineering team, and they’ve confirmed that even scheduled meetings (which could be started again, technically) will having a waiting status after they’re finished—until they expire (covered in the other post).

I hope this helps to clear things up.

Best,  
Will

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 25, 2020, 3:17am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/15 "2020-09-25T03:17:56Z")

</div>

Hi @will.zoom,

Okay. So, can you tell me how would I create a meeting which will show status as “ended” as I want to show the status accordingly on the button. Basically, there’s a button on my website which says “Create Meeting” after clicking on it Create Meeting API runs properly without any issue, after clicking I want to show the status as “Started” and after the person/host ends it from zoom I want to show it as “ended”. How would I achieve it? Can you please give me any suggestions or alternatives for the same?

Thanks,  
Nikhil Sreenivasan.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 25, 2020, 7:02pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/16 "2020-09-25T19:02:18Z")

</div>

Hi @nike28,

Please see my response [here](https://devforum.zoom.us/t/why-end-meeting-doesnt-end-it-actually/4808/49).

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![nike28](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nike28](https://devforum.zoom.us/u/nike28)\
**Post date:** [September 26, 2020, 4:15am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/17 "2020-09-26T04:15:21Z")

</div>

Sure @will.zoom. Thank you!

Best,  
Nikhil Sreenivasan.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 28, 2020, 6:28pm UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/18 "2020-09-28T18:28:20Z")

</div>

Thank you, Nikhil! 🙂

---

<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:** [October 29, 2020, 4:28am UTC](https://devforum.zoom.us/t/meeting-ended-still-status-showing-as-waiting/29893/19 "2020-10-29T04:28:24Z")

</div>

Closed on October 29, 2020, 4:28am UTC

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