# Import user without password (invitation)

**URL:** <https://community.auth0.com/t/import-user-without-password-invitation/69546>\
**Category:** Get Help\
**Created:** [September 13, 2021, 3:00pm UTC](https://community.auth0.com/t/import-user-without-password-invitation/69546 "2021-09-13T15:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![francesco.venica](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/francesco.venica/32/13023_2.png) [@francesco.venica](https://community.auth0.com/u/francesco.venica)\
**Post date:** [September 13, 2021, 3:00pm UTC](https://community.auth0.com/t/import-user-without-password-invitation/69546/1 "2021-09-13T15:00:56Z")

</div>

Hello,

I need to do multiple bulk import to auth0, it can be 50 accounts or 1k accounts, I’m not interested in the password, my idea was to use an invitation flow, I’ll import the user in my db and then I will send a request to the create use endpoint in order to create the user in auth0:

> **[Auth0 Management API v2](https://auth0.com/docs/api/management/v2#!/Users/post_users)**

after create it I’ll create a change password ticket:  
`dbconnections/change_password`

my doubt is, will I have rate-limit issue? is there a better way to achieve this?

many thanks  
Francesco

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 13, 2021, 6:40pm UTC](https://community.auth0.com/t/import-user-without-password-invitation/69546/3 "2021-09-13T18:40:44Z")

</div>

Hi @francesco.venica,

I understand that you have concerns regarding Auth0 API endpoint rate limits.

First, I would like to clarify that your suggested flow does not need to use the Management API to create a user after the user has been imported into your Auth0 database connection. Doing so may cause a conflict when creating a user in the same database connection because the user with that email address already exists via your import job.

Next, I noticed that your flow involves user creation and user import. Usually, in cases that involve user creation, I recommend that you [invite the new user to sign up](https://auth0.com/docs/brand-and-customize/email/send-email-invitations-for-application-signup) instead. This would simplify the flow.

However, if your flow involves user import, then I recommend that you do the following instead:

1. Bulk import 50-1k users w/o password via **Management API’s** [`/post_users_imports`](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_imports)endpoint, which you should be okay with rate-limits on the import side of things.  
– Note that there are limits on [concurrent import jobs.](https://auth0.com/docs/support/policies/rate-limit-policy/management-api-endpoint-rate-limits#concurrent-import-users-job-limits)
2. Create a change password ticket  
– Using the **Authentication API** [`/dbconnections/change_password`](https://auth0.com/docs/api/authentication#change-password) endpoint, which may hit [Authentication API rate limits](https://auth0.com/docs/support/policies/rate-limit-policy/authentication-api-endpoint-rate-limits#limits-for-non-production-tenants-of-paying-customers-and-all-tenants-of-free-customers), or  
– Using the **Management API** [`/Tickets/post-password_change`](https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change) endpoint, which may hit the [Management API rate limits](https://auth0.com/docs/support/policies/rate-limit-policy/management-api-endpoint-rate-limits/).

Keep in mind that rate limits depend on the type of tenant that you have. Therefore, if you must make more requests to the API, you may need to consider a subscription with us.

I hope this answers your questions about rate limits. Please let me know if you have any questions. I would be happy to help.

---

<div class="post-metadata">

**Author:** ![francesco.venica](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/francesco.venica/32/13023_2.png) [@francesco.venica](https://community.auth0.com/u/francesco.venica)\
**Post date:** [September 14, 2021, 10:17am UTC](https://community.auth0.com/t/import-user-without-password-invitation/69546/4 "2021-09-14T10:17:30Z")

</div>

Hello,

many thanks, it seems I have all the info now, about the db I’m sorry, I didn’t explain well, when I say imported in the db I meant in the db of my app, I’m not saving the psw, only emails and other info but this is not related to ipmort user in auth0…

I didn’t know about the `post_users_imports` but that is making all more simple, the flow will be:

- import with `/post_user_imports`
- reset password with `/dbconnections/change_password`

doing this I don’t think I will hit any rate limit as if I understood correctly the limit is 1 req per User Email, IP Address, so sending 1 request per user should be fine (even with 1m of user should be fine)

many thanks

---

<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:** [September 29, 2021, 10:17am UTC](https://community.auth0.com/t/import-user-without-password-invitation/69546/5 "2021-09-29T10:17:31Z")

</div>

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