# Auth0 API **Provider:** Okta (Auth0) **Category:** auth **Base URL:** `https://{tenant}.auth0.com/api/v2` **Auth:** oauth2 — `Authorization: Bearer Management_API_token` **Rate Limit:** 50 requests/s (Management API) **Free Tier:** Yes — [object Object] **Pricing:** Free tier available (freemium) **Docs:** https://auth0.com/docs/api ## Description Auth0 provides identity as a service with support for every auth pattern: social logins (Google, GitHub, Apple), enterprise SSO (SAML, OIDC), passwordless, MFA, machine-to-machine (client credentials), and B2B multi-tenancy with Organizations. Integrates in minutes. ## Endpoints | Method | Endpoint | Description | |--------|----------|-------------| | POST | `https://{tenant}.auth0.com/api/v2/oauth/token` | Get access token (multiple grant types) | | GET | `https://{tenant}.auth0.com/api/v2/userinfo` | Get authenticated user info (OIDC) | | GET | `https://{tenant}.auth0.com/api/v2/api/v2/users` | List and search users | | POST | `https://{tenant}.auth0.com/api/v2/api/v2/users` | Create a user | | PATCH | `https://{tenant}.auth0.com/api/v2/api/v2/users/{id}` | Update a user | | POST | `https://{tenant}.auth0.com/api/v2/api/v2/users/{id}/roles` | Assign roles to a user | ## Authentication Use OAuth 2.0/OIDC. For Management API actions, obtain a Management API token via the client credentials grant. ``` Authorization: Bearer Management_API_token ``` ## Sample Request ```bash # Get Management API token curl -X POST https://$AUTH0_DOMAIN/oauth/token \ -H "Content-Type: application/json" \ -d '{ "client_id": "'$AUTH0_CLIENT_ID'", "client_secret": "'$AUTH0_CLIENT_SECRET'", "audience": "https://'$AUTH0_DOMAIN'/api/v2/", "grant_type": "client_credentials" }' ``` ## Sample Response ```json { "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6...", "expires_in": 86400, "token_type": "Bearer" } # Then list users: GET /api/v2/users?page=0&per_page=50 → [{"user_id":"auth0|abc123","email":"user@example.com","name":"Jane"}] ``` ## Pricing Details Free: 7,500 MAU. Essential: $23/mo (1k MAU). Professional: $240/mo (1k MAU + enterprise features). Enterprise: custom. --- *Source: [API Map](https://apimap.dev/apis/auth0/) — CC BY 4.0*