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

**URL:** <https://community.auth0.com/t/bulk-import-how-to-get-auth0-user-ids-after-import/8160>\
**Category:** Get Help\
**Tags:** user-id, user-import\
**Created:** [September 12, 2017, 5:55am UTC](https://community.auth0.com/t/bulk-import-how-to-get-auth0-user-ids-after-import/8160 "2017-09-12T05:55:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![romann.edt](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@romann.edt](https://community.auth0.com/u/romann.edt)\
**Post date:** [September 12, 2017, 5:55am UTC](https://community.auth0.com/t/bulk-import-how-to-get-auth0-user-ids-after-import/8160/1 "2017-09-12T05:55:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [September 12, 2017, 9:50am UTC](https://community.auth0.com/t/bulk-import-how-to-get-auth0-user-ids-after-import/8160/2 "2017-09-12T09:50:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/bulk-import-how-to-get-auth0-user-ids-after-import/8160/3 "2018-03-02T05:56:26Z")

</div>


