# Zoom Room - API to generate Activation Code

**URL:** <https://devforum.zoom.us/t/zoom-room-api-to-generate-activation-code/8377>\
**Category:** API and Webhooks\
**Created:** [March 3, 2020, 4:57pm UTC](https://devforum.zoom.us/t/zoom-room-api-to-generate-activation-code/8377 "2020-03-03T16:57:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![seric](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seric/32/1208_2.png) [@seric](https://devforum.zoom.us/u/seric)\
**Post date:** [March 3, 2020, 4:57pm UTC](https://devforum.zoom.us/t/zoom-room-api-to-generate-activation-code/8377/1 "2020-03-03T16:57:32Z")

</div>

Is there an API that regenerates the Zoom Room Activation code?

We are limiting who has access to our Zoom Room Admin portal and want our Ops team only access to regenerate Zoom Room activation code. However, that is not possible today as we need to provide full access. We also can’t use the method of only provide full access to certain rooms as the only access they should have is only regenerating activation code.

So we are looking for a way through API’s that we can generate the Zoom activation code for all the rooms, put that in a csv file, and publish so that our operations team can view at any time.

Thank you.

---

<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:** [March 3, 2020, 5:44pm UTC](https://devforum.zoom.us/t/zoom-room-api-to-generate-activation-code/8377/2 "2020-03-03T17:44:25Z")

</div>

Hey @seric,

You can use the [GET /rooms](https://marketplace.zoom.us/docs/api-reference/zoom-api/rooms/listzoomrooms) endpoint to get a list of Zoom Rooms, which includes the `activation_code`.

The code is good for 10 days, so once the 10 days are up, simply call the endpoint again to get the updated codes.

Let me know if that helps! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![seric](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/seric/32/1208_2.png) [@seric](https://devforum.zoom.us/u/seric)\
**Post date:** [March 4, 2020, 4:06am UTC](https://devforum.zoom.us/t/zoom-room-api-to-generate-activation-code/8377/3 "2020-03-04T04:06:13Z")

</div>

Thanks Tommy,

We will give that a try.

---

<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:** [March 4, 2020, 5:00pm UTC](https://devforum.zoom.us/t/zoom-room-api-to-generate-activation-code/8377/4 "2020-03-04T17:00:57Z")

</div>

Happy to help! 🙂

Let me know if that works for you!

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, 7:28pm UTC](https://devforum.zoom.us/t/zoom-room-api-to-generate-activation-code/8377/5 "2020-08-21T19:28:58Z")

</div>

Closed on August 21, 2020, 7:28pm UTC


