# Get user token (by email and password) from the API

**URL:** <https://community.auth0.com/t/get-user-token-by-email-and-password-from-the-api/77391>\
**Category:** Get Help\
**Created:** [February 1, 2022, 8:11am UTC](https://community.auth0.com/t/get-user-token-by-email-and-password-from-the-api/77391 "2022-02-01T08:11:16Z")\
**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:** [February 3, 2022, 10:20pm UTC](https://community.auth0.com/t/get-user-token-by-email-and-password-from-the-api/77391/3 "2022-02-03T22:20:51Z")

</div>

Hi @israelk,

Welcome to the Auth0 Community!

You can get access tokens directly in exchange for username/password with the password grant.

More info on how to do that here: [Is there an easy way to get a user access token for testing?](https://community.auth0.com/t/is-there-an-easy-way-to-get-a-user-access-token-for-testing/73170)

---

_[View the full topic](https://community.auth0.com/t/get-user-token-by-email-and-password-from-the-api/77391)._
