# How to get access token with all the scopes enabled?

**URL:** <https://community.auth0.com/t/how-to-get-access-token-with-all-the-scopes-enabled/64192>\
**Category:** Get Help\
**Tags:** api, scopes, management-api, auth0\
**Created:** [June 9, 2021, 1:57pm UTC](https://community.auth0.com/t/how-to-get-access-token-with-all-the-scopes-enabled/64192 "2021-06-09T13:57:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wahiduzzamankhan007](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wahiduzzamankhan007/32/28329_2.png) [@wahiduzzamankhan007](https://community.auth0.com/u/wahiduzzamankhan007)\
**Post date:** [June 9, 2021, 1:57pm UTC](https://community.auth0.com/t/how-to-get-access-token-with-all-the-scopes-enabled/64192/1 "2021-06-09T13:57:04Z")

</div>

Hello everyone.  
I am trying to get access token for management api using curl. I am getting the token too. But it only have these scopes: `read:prompts update:prompts read:branding update:branding delete:branding`, while the management api has all the permissions.  
How can I get an access token with all the scopes? Is there a way to specify the scopes when requesting the token?  
Thanks in advance.

---

<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:** [June 9, 2021, 5:53pm UTC](https://community.auth0.com/t/how-to-get-access-token-with-all-the-scopes-enabled/64192/3 "2021-06-09T17:53:43Z")

</div>

Hi @wahiduzzamankhan007,

The scopes granted to your curl request will depend on the application (client\_id) used when you make the request.

You will need to update the permissions (scopes) for this application in the Management API settings.

Here is an example of how to change the scopes for the _API Explorer Application_ (this is a default application used for testing/debugging):

 ![Screen Shot 2021-06-09 at 10.50.34 AM](https://global.discourse-cdn.com/auth0/original/3X/4/4/44ddc88784807ab62cdee62e48c53fc1134fde39.png)

---

<div class="post-metadata">

**Author:** ![wahiduzzamankhan007](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wahiduzzamankhan007/32/28329_2.png) [@wahiduzzamankhan007](https://community.auth0.com/u/wahiduzzamankhan007)\
**Post date:** [June 10, 2021, 4:44am UTC](https://community.auth0.com/t/how-to-get-access-token-with-all-the-scopes-enabled/64192/4 "2021-06-10T04:44:44Z")

</div>

Thanks for the response. I was able to resolve the issue.

---

<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:** [June 10, 2021, 4:33pm UTC](https://community.auth0.com/t/how-to-get-access-token-with-all-the-scopes-enabled/64192/5 "2021-06-10T16:33:00Z")

</div>

Thanks for letting us know!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 25, 2021, 4:33pm UTC](https://community.auth0.com/t/how-to-get-access-token-with-all-the-scopes-enabled/64192/6 "2021-06-25T16:33:05Z")

</div>

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