# oAuth2 Authentication for Zoom Room Schedule API

**URL:** <https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965>\
**Category:** API and Webhooks\
**Created:** [July 10, 2022, 7:40pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965 "2022-07-10T19:40:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pempeigne](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pempeigne/32/54790_2.png) [@pempeigne](https://devforum.zoom.us/u/pempeigne)\
**Post date:** [July 10, 2022, 7:40pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/1 "2022-07-10T19:40:42Z")

</div>

There’s notification showing in Zoom that the JWT authentication will be deprecated soon.

“The JWT app type will be deprecated in June, 2023. We recommend that you create Server-to-Server OAuth or OAuth apps to replace the functionality of a JWT app in your account”.

Zoom is suggesting to use oAuth2 for replace the functionality of the JWT. But when we use the oAuth2 in Room Scheduling API, We will get the following error.  
“This API does not support oAuth2 for authorization.”

API - [https://api.zoom.us/v2/rooms/sb3YVaZzTQWtHI11JfSMxg/meetings](https://api.zoom.us/v2/rooms/sb3YVaZzTQWtHI11JfSMxg/meetings)

What might be the reason.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 11, 2022, 3:33pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/2 "2022-07-11T15:33:51Z")

</div>

Hi @pempeigne

Thanks for reaching out to the Zoom Developer Forum and Welcome to our Community!  
Yes, we are going to be deprecating the JWT app next year in June and we are encouraging developers to start migrating their JWT apps to our Server-to-Sever OAuth app.

Here is a guide on How to use the new Server-to-Server app

> [@How to user Server-to-Sever OAuth app with Postman](https://devforum.zoom.us/t/how-to-user-server-to-sever-oauth-app-with-postman/70848):
>
> How to use our Server-to-Server OAuth with Postman? As some of you might be aware of, our JWT app is being deprecated by June 2023 and we encourage you to migrate to the newly introduced [Server-to-Server OAuth App](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app) That being said, here is a quick and simple guide on how to use or new app with Postman As stated in our documentation here: This new app type facilitates OAuth-authenticated requests between servers without end-user involvement. And this grant type enable your private server a…

Your error might be happening because you are using an OAuth app instead of the Server-to-Server.

Let me know if this helps!  
Cheers  
Elisa

---

<div class="post-metadata">

**Author:** ![pempeigne](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pempeigne/32/54790_2.png) [@pempeigne](https://devforum.zoom.us/u/pempeigne)\
**Post date:** [July 11, 2022, 6:53pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/3 "2022-07-11T18:53:38Z")

</div>

Thank You Elisa,

I have made sure that I’m using the Server-to-Server auth. Using the below API.

[https://zoom.us/oauth/token?grant\_type=account\_credentials](https://zoom.us/oauth/token?grant_type=account_credentials)

Please see the attached image.

[server-toserver.png](https://blight-my.sharepoint.com/:i:/g/personal/sjose_embrava_com/ESAUZBa1-Y9Ghfx9gf46w1gBwi9a0Tj7WzV5zjGduDjnDw?e=bHnI7v)

Please let me know if this is not the correct one.

Thanks & Regards,  
Sumith

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 12, 2022, 2:47pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/4 "2022-07-12T14:47:51Z")

</div>

Hi @pempeigne

That is correct, you are using the right app the Server-to-Server OAuth,  
Make sure to add the account ID when making the request, it should look like this:

[https://zoom.us/oauth/token?grant\_type=account\_credentials&account\_id={YOUR\_ACCOUNT\_ID}](https://zoom.us/oauth/token?grant_type=account_credentials&account_id=%7BYOUR_ACCOUNT_ID%7D)

---

<div class="post-metadata">

**Author:** ![pempeigne](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pempeigne/32/54790_2.png) [@pempeigne](https://devforum.zoom.us/u/pempeigne)\
**Post date:** [July 12, 2022, 4:54pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/5 "2022-07-12T16:54:13Z")

</div>

Hi Elisa,

Yes I did use the account ID , See below image .

[AccountId.png](https://blight-my.sharepoint.com/:i:/g/personal/sjose_embrava_com/Ec2gPSIkBppLgw7yQrYJBZkBDazMYno3ZnMM_4032KpdwQ?e=7KUUjP)

Best Regards,  
Sumith

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 12, 2022, 7:00pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/6 "2022-07-12T19:00:33Z")

</div>

That looks right, thanks a lot ! @Patrice.  
Allow me to do some more research with my team about this. In the meantime I would suggest you to continue using JWT and I will update you accordingly

---

<div class="post-metadata">

**Author:** ![pempeigne](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pempeigne/32/54790_2.png) [@pempeigne](https://devforum.zoom.us/u/pempeigne)\
**Post date:** [July 12, 2022, 7:35pm UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/7 "2022-07-12T19:35:03Z")

</div>

Thank You Elisa,

Please let me know once you come to some findings.

Thanks a lot for this support.

Best Regards,  
Sumith

---

<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:** [August 12, 2022, 5:35am UTC](https://devforum.zoom.us/t/oauth2-authentication-for-zoom-room-schedule-api/71965/8 "2022-08-12T05:35:54Z")

</div>

Closed on August 12, 2022, 5:35am UTC

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