How to hit the Auth0 Management API API

The Auth0 Management API lives on your tenant's domain at https://<tenant>.auth0.com/api/v2 (or .us.auth0.com, .eu.auth0.com…).

Authentication

Get a Management API token under Applications → APIs → Auth0 Management API → API Explorer for testing, or via client credentials for production. Send it as Authorization: Bearer <token>. In the examples it's written {{AUTH0_MGMT_TOKEN}}; {{AUTH0_DOMAIN}} is your tenant's domain.

Full reference: https://auth0.com/docs/api/management/v2

List users

curl "https://{{AUTH0_DOMAIN}}/api/v2/users?per_page=10" \
  -H "Authorization: Bearer {{AUTH0_MGMT_TOKEN}}"
Run in PostTaco

Recent log events

curl "https://{{AUTH0_DOMAIN}}/api/v2/logs?per_page=10" \
  -H "Authorization: Bearer {{AUTH0_MGMT_TOKEN}}"
Run in PostTaco