# Auto generate meeting passcode

**URL:** <https://devforum.zoom.us/t/auto-generate-meeting-passcode/31671>\
**Category:** API and Webhooks\
**Created:** [September 29, 2020, 5:39pm UTC](https://devforum.zoom.us/t/auto-generate-meeting-passcode/31671 "2020-09-29T17:39:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattpegler](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mattpegler](https://devforum.zoom.us/u/mattpegler)\
**Post date:** [September 29, 2020, 5:39pm UTC](https://devforum.zoom.us/t/auto-generate-meeting-passcode/31671/1 "2020-09-29T17:39:59Z")

</div>

We’d like some way to automatically generate passcodes for meetings scheduled via the API when the user’s Meeting Passcode setting is not locked.

**Longer**  
We would like to have passcodes enabled for all meetings we schedule via the API. It is quite complex for us to generate a valid passcode given we must respect the minimum password requirements. Also, there seems to be some complexity around how password work with users who use a personal meeting ID for all meeting. It would be _extremely_ helpful if there was some way to tell the API to automatically generate a passcode for the meeting. Is that possible in the API currently? If not, is that something that could be added? Either a new parameter or maybe just using the value “AUTO” for the password parameter could trigger the automatic passcode generation.

---

<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:** [October 1, 2020, 5:53pm UTC](https://devforum.zoom.us/t/auto-generate-meeting-passcode/31671/2 "2020-10-01T17:53:42Z")

</div>

Hi @mattpegler,

This can be accomplished by ensuring that the waiting room is disabled and locked off, and the passcode is disabled without a lock. If you pass a passcode value in your request to create a meeting with either a blank string or null, the result will be that a new passcode is automatically generated and included in the response. You can see this in Scenario 2 here:

> **[Announcements - Stay Up To Date - Documentation](https://marketplace.zoom.us/docs/guides/stay-up-to-date/announcements#passcode-and-wr-changes)**
>
> Announcements
> 
> Below are upcoming and recent backwards compatible changes made to the Zoom Developer Platform. For other recent changes to the Zoom API,...

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![mattpegler](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mattpegler](https://devforum.zoom.us/u/mattpegler)\
**Post date:** [October 1, 2020, 6:20pm UTC](https://devforum.zoom.us/t/auto-generate-meeting-passcode/31671/3 "2020-10-01T18:20:02Z")

</div>

Hi Will. Thanks for the info. We are a decent sized application and ensuring all our users change their settings isn’t really feasible.

At one point we did set our own passcodes for each meeting we scheduled via the API, but we kept running into issues with custom password requirements and oddities around users who use a PMI for all meetings.

-Matt

---

<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:** [October 2, 2020, 5:05pm UTC](https://devforum.zoom.us/t/auto-generate-meeting-passcode/31671/4 "2020-10-02T17:05:58Z")

</div>

Hey @mattpegler,

Thanks for clarifying—I can definitely understand how individual account nuances can make it hard to control this in batch, and appreciate the feedback. Should you have further questions about any of these scenarios, don’t hesitate to ask here.

Best,  
Will

---

<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:** [November 2, 2020, 3:06am UTC](https://devforum.zoom.us/t/auto-generate-meeting-passcode/31671/5 "2020-11-02T03:06:18Z")

</div>

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