# This API only supports oAuth2 for authorization

**URL:** <https://devforum.zoom.us/t/this-api-only-supports-oauth2-for-authorization/29405>\
**Category:** API and Webhooks\
**Created:** [September 7, 2020, 12:51pm UTC](https://devforum.zoom.us/t/this-api-only-supports-oauth2-for-authorization/29405 "2020-09-07T12:51:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashant.bharati](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@prashant.bharati](https://devforum.zoom.us/u/prashant.bharati)\
**Post date:** [September 7, 2020, 12:51pm UTC](https://devforum.zoom.us/t/this-api-only-supports-oauth2-for-authorization/29405/1 "2020-09-07T12:51:02Z")

</div>

**Description**  
i tried using [https://api.zoom.us/v2/chat/users/prashant.bharati@evontech.com/messages](https://api.zoom.us/v2/chat/users/prashant.bharati@evontech.com/messages) api with JWT token

**Error**  
but i get following message

{  
“code”: 124,  
“message”: “This API only supports oAuth2 for authorization.”  
}

can’t these api be used with JWT token?

---

<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 10, 2020, 2:18pm UTC](https://devforum.zoom.us/t/this-api-only-supports-oauth2-for-authorization/29405/2 "2020-09-10T14:18:09Z")

</div>

Hey @prashant.bharati,

Currently, it’s only possible to get/send [Chat Messages](https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/sendachatmessage) through an OAuth app.

That said, [Account-level chat APIs](https://trello.com/c/dqthV5DW/43-zoom-chat-apis-account-level) (JWT or OAuth) are something we’re looking into for the future, so stay tuned to our [Changelog](https://marketplace.zoom.us/docs/changelog) for that release.

Thanks,  
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:** [October 11, 2020, 12:18am UTC](https://devforum.zoom.us/t/this-api-only-supports-oauth2-for-authorization/29405/3 "2020-10-11T00:18:16Z")

</div>

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