# cURL call to get users with JWT token - not working

**URL:** <https://devforum.zoom.us/t/curl-call-to-get-users-with-jwt-token-not-working/88125>\
**Category:** Meetings\
**Created:** [May 9, 2023, 10:07pm UTC](https://devforum.zoom.us/t/curl-call-to-get-users-with-jwt-token-not-working/88125 "2023-05-09T22:07:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 10, 2023, 7:28pm UTC](https://devforum.zoom.us/t/curl-call-to-get-users-with-jwt-token-not-working/88125/2 "2023-05-10T19:28:26Z")

</div>

Hi @captainben99  
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!  
I am happy to help here!

If my understanding is correct after reading your post, it looks like you are trying to generate a JWT token using the meeting SDK app credentials and that’s the reason why you are getting that error.

> So, question 1: WIth the API calls, is the token used supposed to be the JWT token? I am NOT using OAuth at all right now, although I did get my callback to work save the OAuth token separately. If not, what “token” should I be using?? The word token is used for really varied things as there are a bunch of them.

To answer your first question, if you are trying to make API calls to our endpoints, you will have to use our Server-to-Server Oauth app that is the app type

> **[Internal apps (Server-to-server)](https://developers.zoom.us/docs/internal-apps/)**
>
> 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.

So you will be using your account credentials to generate an access token and use it to get users in your account (or to call our endpoints)

> Question 2: Since JWT is being depracated and dropped, is my assumption that the client ID and client secret from the sdk app what I am supposed to be using to create the JWT token?

To answer question 2, you will be using the client ID and client secret to generate a JWT-type token to generate your meeting SDK signature

> [@Troubleshooting Meeting SDK signature validation](https://devforum.zoom.us/t/troubleshooting-meeting-sdk-signature-validation/85961):
>
> In this guide, we’ll cover common issues you may run into when generating a signature for the Zoom Meeting SDK. The Zoom Meeting SDK uses a JSON Web Token (JWT) signature to authorize the SDK and validate your client’s requests to start or join a meeting. Documentation on this is available here: [Meeting SDK Authorization](https://developers.zoom.us/docs/meeting-sdk/auth/). We also have a sample signature application which can be used as a good starting point: [Sample Meeting SDK Signature App - Node JS](https://github.com/zoom/meetingsdk-sample-signature-node.js) If the signature provided is invalid, the…

I hope this helps,  
Elisa

---

_[View the full topic](https://devforum.zoom.us/t/curl-call-to-get-users-with-jwt-token-not-working/88125)._
