Rest API to get authorization key

Hi Everyone,

i am searching for an API, to get authorization token and i found one API like https://zoom.us/oauth/token and this API is asking for authorization key and there is one another API to get authorization key like https://zoom.us/oauth/token?response_type=code&client_id=&redirect_uri= is there any another API to get authorization token.

Thanks
Prem

Hey @prem.srivastava,

The OAuth flow is as follows:

GET https://zoom.us/oauth/authorize?response_type=code&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT_URI}

After going to that url, signing in with Zoom, and authorizing your app, you will be taken to {YOUR_REDIRECT_URI}, with a query param of code=abc123 in the url.

Then, grab the code in the url, in this example case abc123 and make the following request to get an access_token (used to call the Zoom APIs):

POST https://zoom.us/oauth/token?grant_type=authorization_code&code=abc123&redirect_uri={YOUR_REDIRECT_URI}

Headers: {"Authorization": "Basic base64Encode(client_id:client_secret)"}

Let me know if that helps!

Thanks,
Tommy

1 Like

Hey @tommy

i selected all the given scope on marketplace but i am not able to create meeting using that access token. It is saying like.
{
** “code”: 4700,**
** “message”: “Invalid access token, does not contain scopes: [meeting:write:admin]”**
}

Thanks
Prem

yeah it works for me
Thanks a lot @tommy .

1 Like

Happy to hear! Let us know if you have any other questions! :slight_smile:

Thanks,
Tommy

1 Like