Back to APIs
Auth0
Authenticate and authorize users with Auth0's flexible, secure identity platform supporting social login, SSO, MFA, and role-based access.
Base URL
https://YOUR_DOMAIN.auth0.com/api/v2SSOOAuth2OIDCMFARBAC
Endpoints
GET
/usersGet a list of users in your Auth0 tenant.
const response = await fetch("https://YOUR_DOMAIN.auth0.com/api/v2/users?per_page=10", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
console.log(data);Response Preview
[
{
"user_id": "auth0|abc123",
"email": "jane@example.com",
"name": "Jane Doe",
"logins_count": 42,
"last_login": "2024-05-01T10:00:00.000Z",
"created_at": "2024-01-01T00:00:00.000Z"
}
]