Skip to main content
GET
/
stats
/
active-users
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.stats.getActiveUsersCount();
}
main();
100

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Number of active users successfully retrieved.

Number of active users in the last 30 days.