# Get Token from API using Postman

**URL:** <https://community.auth0.com/t/get-token-from-api-using-postman/95647>\
**Category:** Get Help\
**Tags:** oauth-2-0, protocols\
**Created:** [December 5, 2022, 1:49am UTC](https://community.auth0.com/t/get-token-from-api-using-postman/95647 "2022-12-05T01:49:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [December 7, 2022, 8:20pm UTC](https://community.auth0.com/t/get-token-from-api-using-postman/95647/3 "2022-12-07T20:20:15Z")

</div>

Hi @murilo.gamboa.melo,

Welcome to the Auth0 Community!

What are you trying to do with the token? If you simply want to retrieve a user’s access/id tokens, there are easier ways than working through the entire code flow. For instance, you can set up a password grant and exchange username/password directly for tokens, or you could use our authentication API debugger to get them programmatically.

Take a look at this thread that covers the topics I just mentioned.

> [@Getting User Auth Token in Postman](https://community.auth0.com/t/getting-user-auth-token-in-postman/66413):
>
> Hello all, Very new to OAuth2.0 and Auth0, working on standing up a new RestAPI protected by Auth0. We also have a UI which uses the Auth0 Universal Login for our users to sign in on. Currently, I would like to test my API in postman so that I do not need to spin up our web app just to get the bearer token. To do this, I have been trying to follow many guides on using Postman’s OAuth 2.0 authorization. It feels like I am very close to my goal of being able to log in as one of our test users to…

If you want to do something different, let me know and we can work through it.

---

_[View the full topic](https://community.auth0.com/t/get-token-from-api-using-postman/95647)._
