# Just Want to Make Some Simple API Calls

**URL:** <https://devforum.zoom.us/t/just-want-to-make-some-simple-api-calls/87733>\
**Category:** API and Webhooks\
**Created:** [May 2, 2023, 8:06pm UTC](https://devforum.zoom.us/t/just-want-to-make-some-simple-api-calls/87733 "2023-05-02T20:06:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [May 3, 2023, 12:30pm UTC](https://devforum.zoom.us/t/just-want-to-make-some-simple-api-calls/87733/4 "2023-05-03T12:30:04Z")

</div>

Hi @Unhandled_Exception  
Sorry to hear that this has been challenging for you.

I just wanted to come back and maybe provide a quick overview of how to generate the token in simple steps, once you get the gist of it, it is pretty straightforward.

Once you have your [Server-to-Sever OAuth app](https://developers.zoom.us/docs/internal-apps/#prerequisite) created with all the basic information and scopes in your account, you will have a set of credentials that will be used to request the access token:

1. Account ID
2. Client ID
3. Client Secret

With these credentials, you will make a request to the Zoom Oauth endpoint in order to get an access token.

As you mentioned you were using Powershell, I have created a request with my credentials using Postman and grabbed the code-snippet for Powershell and it looks like this:

```auto
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"

$headers.Add("Authorization", "Basic {myClientID}:{myClientSecret}")

$response = Invoke-RestMethod 'https://zoom.us/oauth/token?grant_type=account_credentials&account_id={myAccountID}' -Method 'POST' -Headers $headers

$response | ConvertTo-Json

```

And this is the response I am getting:

 ![Screenshot 2023-05-03 at 8.26.13 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/2/0203824c1859471a418296c7519fc3d5e366774b.png)

Once you get this reponse, you will use the access\_token the same way you are using the JWT token.  
The only thing that changes is the way you generate the token, for the Server-to-Sever OAuth app you request a token to our OAuth endpoint using account credentials, whereas with the JWT app you generate a token using your API key and API secret.

Lastly, here is a video that I created a while ago on how to set up a Server-to-Server OAuth app step by step and also how to make requests via Postman.

https://www.youtube.com/embed/OkBE7CHVzho?feature=oembed&wmode=opaque&list=PLKpRxBfeD1kGN-0QgQ6XtSwtxI3GQM16R

Please let me know if this helped and feel free to ask as many questions as you would like, I am happy to guide and provide you with support on this 🙂

Cheers,  
Elisa

---

_[View the full topic](https://devforum.zoom.us/t/just-want-to-make-some-simple-api-calls/87733)._
