# How to get the JWT token as response to POSTMAN

**URL:** <https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197>\
**Category:** API and Webhooks\
**Created:** [September 30, 2021, 11:18am UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197 "2021-09-30T11:18:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghavendra.teli](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raghavendra.teli/32/27749_2.png) [@raghavendra.teli](https://devforum.zoom.us/u/raghavendra.teli)\
**Post date:** [September 30, 2021, 11:18am UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/1 "2021-09-30T11:18:07Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
How to get the JWT token as response to POSTMAN

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
Authorization

I need to hit an HTTP request so that as response I can get the JWT token back.

In case JSWT doesn’t support can I do it with User OAuth.

Please suggest some steps to achieve it.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [October 1, 2021, 11:27pm UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/2 "2021-10-01T23:27:51Z")

</div>

Hey @raghavendra.teli,

Thank you for reaching out to the Zoom Developer Forum. When it comes to JWT tokens, you’ll need to generate these using the steps provided in our [JWT App](https://marketplace.zoom.us/docs/guides/auth/jwt) documentation.

In other words, you create a token using the API Key and Secret but we don’t have an API to obtain a generated token.

I hope that helps!

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![raghavendra.teli](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raghavendra.teli/32/27749_2.png) [@raghavendra.teli](https://devforum.zoom.us/u/raghavendra.teli)\
**Post date:** [October 4, 2021, 3:23am UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/3 "2021-10-04T03:23:35Z")

</div>

Hey @MaxM ,

Thanks for clarifying, Can we use OAuth authorization for API based retrieval of token?  
The project requirement is to trigger the Token HTTP call 1st thru which we should be able to get the token as response and with that token will trigger the v2 Zoom API.

Thanks,  
Raghav

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [October 4, 2021, 10:44pm UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/4 "2021-10-04T22:44:16Z")

</div>

Hey @raghavendra.teli,

If you wanted to involve user authorization then you would want to use an [OAuth App](https://marketplace.zoom.us/docs/guides/auth/oauth). That allows you to get an access\_token for each user.

Postman also has an option for using Oauth you can find detailed here:

> **[Authorizing requests](https://learning.postman.com/docs/sending-requests/authorization/#oauth-20)**

I hope that helps!

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![raghavendra.teli](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raghavendra.teli/32/27749_2.png) [@raghavendra.teli](https://devforum.zoom.us/u/raghavendra.teli)\
**Post date:** [October 11, 2021, 10:25am UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/5 "2021-10-11T10:25:42Z")

</div>

Hey @MaxM,

Thanks for the link provided went thru it.

The Query is bit different than the usual scenario: I have created an App, I do have Client id and client secret.  
But I don’t want to provide the redirect URL. With the Client id and secret if I make an HTTP call to Zoom API “[https://zoom.us/oauth/token](https://zoom.us/oauth/token)”, In return we are expecting the Auth token.

Is this possible ? If Yes, Please let us know any demo videos or steps so that we can also follow and achieve the same.

Thanks,  
Raghav

---

<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:** [October 13, 2021, 10:26am UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/6 "2021-10-13T10:26:38Z")

</div>

Hi @raghavendra.teli,

The redirect url is required for our OAuth flow, as this is where the `code` is appended that you will then swap for an `access_token`.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![raghavendra.teli](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raghavendra.teli/32/27749_2.png) [@raghavendra.teli](https://devforum.zoom.us/u/raghavendra.teli)\
**Post date:** [October 13, 2021, 1:17pm UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/7 "2021-10-13T13:17:17Z")

</div>

HI @will.zoom ,

I observed that the code with which we generate the token is getting expired soon or used only once.  
Is there a possibility that the code can be used multiple times and non-expiry.

Thanks,  
Raghav

---

<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:** [October 14, 2021, 11:45am UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/9 "2021-10-14T11:45:08Z")

</div>

Hi @raghavendra.teli,

The code that gets appended to the redirect URL is intended to be used right away. If it expires, you will need to reauthorize the oauth flow.

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:** [November 13, 2021, 9:45pm UTC](https://devforum.zoom.us/t/how-to-get-the-jwt-token-as-response-to-postman/58197/10 "2021-11-13T21:45:12Z")

</div>

Closed on November 13, 2021, 9:45pm UTC

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