# Auth0 management APIs

**URL:** <https://community.auth0.com/t/auth0-management-apis/63031>\
**Category:** Get Help\
**Tags:** jwt, access-token, auth0\
**Created:** [May 19, 2021, 5:01am UTC](https://community.auth0.com/t/auth0-management-apis/63031 "2021-05-19T05:01:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![monika.prakash](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/monika.prakash/32/13482_2.png) [@monika.prakash](https://community.auth0.com/u/monika.prakash)\
**Post date:** [May 19, 2021, 5:01am UTC](https://community.auth0.com/t/auth0-management-apis/63031/1 "2021-05-19T05:01:20Z")

</div>

Hi

I want to fetch the auth0 user details using golang

I am using management api

api end point is :

slight\_smile: omain + “/api/v2/users-by-email?email=” + ctxUser.Email

I am following the doc is attached here

> **[Retrieve Users with Get Users by Email Endpoint](https://auth0.com/docs/manage-users/user-search/retrieve-users-with-get-users-by-email-endpoint?_ga=2.20627515.2043246424.1621226495-1518461162.1619607855)**
>
> Learn how to retrieve lists of users using the get-users-by-email endpoint.

but I dint get how can I get ‘YOUR\_MGMT\_API\_ACCESS\_TOKEN’ in my golang code.

how can I create management api access token using golang code

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 19, 2021, 11:49am UTC](https://community.auth0.com/t/auth0-management-apis/63031/2 "2021-05-19T11:49:05Z")

</div>

Hey there!

I guess our Go Quickstart should be helpful in that matter:

> **[Auth0 Go SDK Quickstarts: Login](https://auth0.com/docs/quickstart/webapp/golang/01-login)**
>
> This tutorial demonstrates how to add user login to a Go web application using Auth0.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 27, 2021, 11:44am UTC](https://community.auth0.com/t/auth0-management-apis/63031/3 "2021-05-27T11:44:19Z")

</div>


