Identity
Bearer Token
Auth0 REST API
Authentication and authorization platform API
Auth0 is a flexible, drop-in solution to add authentication and authorization services to applications. The Auth0 Management API allows you to programmatically manage users, applications, connections, rules, and other resources. Developers use it to automate identity workflows, build custom admin dashboards, and integrate authentication into complex enterprise systems.
Base URL
https://YOUR_DOMAIN.auth0.com/api/v2
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /users | List or search users in your Auth0 tenant with pagination and filtering |
| GET | /users/{id} | Retrieve a specific user by their unique user ID |
| POST | /users | Create a new user with email, password, and custom metadata |
| PATCH | /users/{id} | Update user profile information, metadata, or account settings |
| DELETE | /users/{id} | Permanently delete a user from the Auth0 tenant |
| GET | /clients | List all applications (clients) configured in your Auth0 tenant |
| POST | /clients | Create a new application with specified grant types and callbacks |
| GET | /connections | List all identity provider connections including social and enterprise |
| POST | /connections | Create a new database or enterprise connection |
| GET | /roles | List all roles defined for role-based access control |
| POST | /roles | Create a new role with specific permissions |
| POST | /users/{id}/roles | Assign one or more roles to a specific user |
| GET | /logs | Retrieve authentication and management activity logs with filtering |
| GET | /stats/daily | Get daily statistics for logins and signups |
| POST | /tickets/password-change | Generate a password change ticket URL for a user |
Code Examples
curl -X GET 'https://YOUR_DOMAIN.auth0.com/api/v2/users' \
-H 'Authorization: Bearer YOUR_MGMT_API_TOKEN' \
-H 'Content-Type: application/json'
Connect Auth0 to AI
Deploy a Auth0 MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Auth0 through these tools:
search_users
Search and filter users by email, name, or metadata fields with natural language queries
create_user
Create new user accounts with email verification and initial role assignment
assign_roles
Assign or remove roles from users based on business logic or conditions
analyze_auth_logs
Query and analyze authentication logs to detect patterns, failures, or security anomalies
manage_applications
Create, configure, and manage OAuth applications and their settings programmatically
Deploy in 60 seconds
Describe what you need, AI generates the code, and IOX deploys it globally.
Deploy Auth0 MCP Server →