Generate a Management API token
Use the Auth0 API Explorer to generate a token scoped to the Management API.
Sign in to Auth0
Sign in to your Auth0 account.
- In the left sidebar, navigate to Applications > APIs.
- Click on Auth0 Management API.
- Select the API Explorer tab.
Set token expiration
On the API Explorer tab, set the Token Expiration (Seconds) field. This defines how long the generated token remains valid. The default value (86400 seconds / 24 hours) is sufficient for testing. For production use, prefer OAuth 2.0 Client Credentials.
Find your domain
On the Auth0 Management API page, look for the Identifier field displayed directly below the page title.
- The Identifier will display a URL in the format
https://your-tenant.us.auth0.com/api/v2/. - Your domain is everything between
https://and/api/v2/(e.g.your-tenant.us.auth0.com).
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Domain
- Management API Token
If the account linking is successful, you will see the newly linked account in your Accounts page.