Skip to main content
Management API tokens expire after 24 hours by default. For production use, prefer OAuth 2.0 Client Credentials.

Generate a Management API token

Use the Auth0 API Explorer to generate a token scoped to the Management API.

1

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.
2

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.

3

Copy the token

Copy the Token value and store it securely for use later.

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

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Domain
  • Management API Token
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.