Auth0 Home Blog Docs

Bulk Import. How to get Auth0 user ids after import?



Hi everyone,
I need to import ~100k users into Auth0 (into ‘Username-Password-Authentication’ connection).
After that, I need to get all the Auth0 User IDs for those recently imported users.

What is the best/recommended way to do that?
These are options that I have on my mind right now:

  • Search API. I can’t really use the Search API, because it’s output is limited to 10k users.
  • Query one-by-one. That will lead to 100k search requests to Auth0 (basically, it’s will be one request per imported user). That’s not very efficient, I guess, and the Search cluster will not be happy about it.


Can you describe why you’d need to obtain the user_id’s for all the user?