# This API does not support oAuth2 for authorization

**URL:** <https://devforum.zoom.us/t/this-api-does-not-support-oauth2-for-authorization/113267>\
**Category:** Video SDK\
**Tags:** video-sdk\
**Created:** [July 8, 2024, 7:48pm UTC](https://devforum.zoom.us/t/this-api-does-not-support-oauth2-for-authorization/113267 "2024-07-08T19:48:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/karson/32/61289_2.png) [@karson](https://devforum.zoom.us/u/karson)\
**Post date:** [July 8, 2024, 7:48pm UTC](https://devforum.zoom.us/t/this-api-does-not-support-oauth2-for-authorization/113267/1 "2024-07-08T19:48:34Z")

</div>

I create a access\_token successfully with this POST:

```auto
const url = 'https://zoom.us/oauth/token';
const options = {
  method: 'POST',
  headers: {
    Authorization: 'Basic xyz'
  },
  body: new URLSearchParams({grant_type: 'account_credentials', account_id: 'xyz'})
};

```

However, when I go and use the access token for a GET to /videosdk/recordings, I get a 401

```auto
{
  "code": 124,
  "message": "This API does not support oAuth2 for authorization."
}

```

This is what the request looks like:

```auto
const url = 'https://api.zoom.us/v2/videosdk/recordings';
const options = {
  method: 'GET',
  headers: {
    Authorization: 'Bearer access_token_from_step_1'
  }
};

```

I have looked through the docs and I cannot find a solution.

What am I missing? JWT is deprecated so I assume that is not the solution. Thanks for the help.

---

<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 8, 2024, 9:54pm UTC](https://devforum.zoom.us/t/this-api-does-not-support-oauth2-for-authorization/113267/2 "2024-07-08T21:54:43Z")

</div>

Hi @karson  
Thanks for reaching out to us and welcome to our Zoom Developer Forum!  
It looks like you are trying to access the Video SDK API using a Server to Server oauth token.

Here is a link to our docs for Video SDK and how to make API requests.

> **[Make API requests](https://developers.zoom.us/docs/video-sdk/api-request/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Also, it is important to mention that the Video SDK requires a specific account that you need to create on top of the Zoom account that you already have, so here are some links that will be useful for you

> **[Zoom Video SDK](https://developers.zoom.us/docs/video-sdk/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

> **[Video SDK - Get credentials](https://developers.zoom.us/docs/video-sdk/get-credentials/#create-account)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<div class="post-metadata">

**Author:** ![karson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/karson/32/61289_2.png) [@karson](https://devforum.zoom.us/u/karson)\
**Post date:** [July 8, 2024, 10:42pm UTC](https://devforum.zoom.us/t/this-api-does-not-support-oauth2-for-authorization/113267/4 "2024-07-08T22:42:04Z")

</div>

Thanks, I have created that account and now made a successful request but it shows no recordings. That makes sense as it is not my real Zoom account.

I then allowed my new SDK account to manage my real zoom account by adding a custom role with recording management scopes enabled and adding my SDK account to my real Zoom account (where my recordings are) but my recordings are still not returned.

What am I missing?

---

<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, 2024, 3:43pm UTC](https://devforum.zoom.us/t/this-api-does-not-support-oauth2-for-authorization/113267/5 "2024-07-12T15:43:39Z")

</div>

Hi @karson  
Are you still having this issue?  
I do not believe you could add your SDK account to your Zoom account. you should be querying the endpoint with the SDK account/credentials to get your recordings.
