getAll in auth0 showing only last 50 records.But I need all records

$sdk = new Auth0($configuration);
$managementApi = $sdk->management();
$auth0Users = $managementApi->users();

    $allAuth0Users = $auth0Users->getAll();

Hi @care

Welcome to the Auth0 Community!

By default Auth0 allows to receive 50 records per request. To get more you need to include pagination in your request. We have request examples for different programming languages here → Retrieve Users with the Get Users Endpoint

Thanks
Dawid

ok.Can we get the count how many users are there in auth0

Yes, you can use properties from Managment API to check for available properties → Auth0 Management API v2.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.