Overview
This article explains if it is possible to export user data from Auth0 using the User Import / Export Extension based on specific filters.
Applies To
- Auth0 Dashboard
- User Import / Export Extension
Cause
The Auth0 Management API does not directly support filtering users by specific fields during export. Therefore, exporting users with particular attributes, such as email_verified
set to false
, requires exporting all users and then filtering the data externally.
Solution
To bulk export users from Auth0:
- Navigate to Auth0 Dashboard > Extensions > User Import/Export.
- Install the User Import/Export Extension if it is not already installed.
- Open the User Import/Export Extension.
- Go to the Export Tab.
- Enter the user fields to export in the provided input, such as
user_id
,email
,identities[0].connection
, andemail_verified
. - Select Download as JSON to export the user data.
After exporting, use a script or tool to filter the downloaded JSON file based on the desired criteria (e.g., email_verified: false
). Including the identities[0].connection
field in the export is recommended to differentiate users who may share the same email across different connections.
More information about the User Import/Export Extension is available at User Import / Export Extension.