Auth0 Home Blog Docs

How to export all of users by export API

auth0
export-user
connection
exporting-user-data-

#1

Hi,
I want to export all my users from Auth0. I’m using export API for and it works well. But actually, it’s not export all of the users. I received the user with “connection”: “Username-Password-Authentication” only. How can I retrieve another user which has the “connection”: “facebook” ,“connection”: “google-oauth2” or something else?
Could I have a help? Thanks.
For more information, this is the result when I’m using /api/v2/jobs/users-exports. You can see:

{
    "type": "users_export",
    "status": "pending",
    "connection_id": "con_rxxxxxxxxxxxx",
    "format": "json",
    "limit": 100,
    "fields": [
        {
            "name": "email"
        },
        {
            "name": "user_id"
        },
        {
            "name": "updated_at"
        },
        {
            "name": "nickname"
        },
        {
            "name": "email_verified"
        }
    ],
    "connection": "Username-Password-Authentication",
    "created_at": "2018-09-20T06:23:49.785Z",
    "id": "job_xxxxxxxx"
}

#2

Hello Han,

Can you provide the steps you’re using to get the results you’re seeing? The export should return all users regardless of connection type.


#3

That’s what stated here: https://auth0.com/docs/api/management/v2 “Auth0 limits the number of users you can return. If you exceed this threshold, please redefine your search” or use https://domyhomeworkonline.net/ for an answer.