Get an access token
Get an access token for the Auth0 Management API audience.
Note: The `audience` must be set to the non-custom domain.
- `https://develop-jm.us.auth0.com/api/v2/` for development
- `https://test-jm.us.auth0.com/api/v2/` for test
- `https://stage-jm.us.auth0.com/api/v2/` for stage
- `https://prod-jm.us.auth0.com/api/v2/` for production
Request
This endpoint expects an object.
client_id
The Auth0 application's Client ID.
client_secret
The Auth0 application's Client Secret.
audience
The Auth0 Management API audience.
grant_type
The OAuth 2.0 grant type. Must be client_credentials.
Response
Access token successfully retrieved.
access_token
The access token for the Auth0 Management API.
scope
The scopes associated with the access token.
expires_in
The number of seconds until the access token expires.
token_type
The type of token. Always Bearer.
Errors
400
Bad Request Error
401
Unauthorized Error