# Restful api create-a-meeting. set enforce\_login to true, bug join metting can't use login, why?

**URL:** <https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082>\
**Category:** API and Webhooks\
**Created:** [January 24, 2019, 7:47am UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082 "2019-01-24T07:47:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yyl/32/362_2.png) [@yyl](https://devforum.zoom.us/u/yyl)\
**Post date:** [January 24, 2019, 7:47am UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/1 "2019-01-24T07:47:31Z")

</div>

create meeting api [Zoom API](https://zoom.github.io/api/#create-a-meeting).  
restful api create-a-meeting. set enforce\_login to true, but user join metting not need login, why?

> the body is  
> {“topic” =\> “demo”,  
> “type” =\> 1,  
> “start\_time” =\> “2019-01-24 16:40:00”,  
> “duration” =\> 120,  
> “timezone” =\> “shanghai”,  
> “password” =\> “111111”,  
> “agenda” =\> “demo demo demo demo”,  
> “settings” =\> [  
> ‘approval\_type’ =\> 1,  
> ‘enforce\_login’ =\> true  
> ]  
> }

and the api response  
…  
[host\_video] =\> 1  
[participant\_video] =\> 1  
[cn\_meeting] =\>  
[in\_meeting] =\>  
[join\_before\_host] =\>  
[mute\_upon\_entry] =\> 1  
[watermark] =\>  
[use\_pmi] =\>  
[approval\_type] =\> 2  
[audio] =\> both  
[auto\_recording] =\> none  
[enforce\_login] =\>  
[enforce\_login\_domains] =\>  
[alternative\_hosts] =\>  
[close\_registration] =\>  
[registrants\_confirmation\_email] =\> 1  
[waiting\_room] =\>  
…

why ?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [January 24, 2019, 2:59pm UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/2 "2019-01-24T14:59:20Z")

</div>

Hi @yyl,

Within your Zoom Account, can you check to see if “Only signed-in users can join meetings” is set and locked? This might be the reason why.

 ![47%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/9c9b7bedb03a37d110e0139f4091826ad8e4e427.png)

Thanks

---

<div class="post-metadata">

**Author:** ![yyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yyl/32/362_2.png) [@yyl](https://devforum.zoom.us/u/yyl)\
**Post date:** [January 24, 2019, 3:13pm UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/3 "2019-01-24T15:13:15Z")

</div>

thanks, not found the setting “Only signed-in users can join meetings”. my zoom account  
is 1203199, help me check it. thak you very much.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [January 24, 2019, 5:14pm UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/4 "2019-01-24T17:14:42Z")

</div>

@yyl,

Please go to [https://zoom.us/account/setting](https://zoom.us/account/setting). Should be under Account Management -\> Account Settings, then you should see Only signed-in users can join meetings. Can you verify that it’s turned on and locked?

Thanks

---

<div class="post-metadata">

**Author:** ![yyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yyl/32/362_2.png) [@yyl](https://devforum.zoom.us/u/yyl)\
**Post date:** [January 25, 2019, 1:17am UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/5 "2019-01-25T01:17:53Z")

</div>

hi, thanks.  
I find the setting.  
but I would like to know the setting can’t set up by restful api to a meeting? other’s meeting keep defoult.

thanks.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [January 25, 2019, 10:26pm UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/6 "2019-01-25T22:26:31Z")

</div>

Hi @yyl,

Currently, it has to be set within the Zoom portal.

Thanks

---

<div class="post-metadata">

**Author:** ![thekitchensink](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thekitchensink/32/5816_2.png) [@thekitchensink](https://devforum.zoom.us/u/thekitchensink)\
**Post date:** [April 11, 2020, 12:10pm UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/7 "2020-04-11T12:10:33Z")

</div>

I was able to set join\_before\_host via API and getting the user settings again reflected the change. However the portal still does not show the change. Will this be fixed?

---

<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 13, 2020, 7:44pm UTC](https://devforum.zoom.us/t/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/8 "2020-04-13T19:44:17Z")

</div>

Hey @thekitchensink,

Please refrain from duplicate posts:

> [@Enforce login setting for creating meeting is not get toggled through API](https://devforum.zoom.us/t/enforce-login-setting-for-creating-meeting-is-not-get-toggled-through-api/6949/3):
>
> Is this fixed? I tried to set join\_before\_host to False and when I query the settings for the user it does reflect as False. But when I check the UI it shows True. What can I do?

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/restful-api-create-a-meeting-set-enforce-login-to-true-bug-join-metting-cant-use-login-why/3082/9 "2020-08-21T20:14:07Z")

</div>

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


