# How to create a user by sending email invitation?

**URL:** <https://community.auth0.com/t/how-to-create-a-user-by-sending-email-invitation/83356>\
**Category:** Get Help\
**Created:** [May 12, 2022, 4:32pm UTC](https://community.auth0.com/t/how-to-create-a-user-by-sending-email-invitation/83356 "2022-05-12T16:32:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunjan.Parmar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gunjan.parmar/32/35013_2.png) [@Gunjan.Parmar](https://community.auth0.com/u/Gunjan.Parmar)\
**Post date:** [May 12, 2022, 4:32pm UTC](https://community.auth0.com/t/how-to-create-a-user-by-sending-email-invitation/83356/1 "2022-05-12T16:32:10Z")

</div>

Hello,  
I want to create a user & send an email for password change. What is the best practice to achieve that?

- I am reading [Send Email Invitations for Application Signup](https://auth0.com/docs/customize/email/send-email-invitations-for-application-signup) and looks like you have to have a user created prior to sending the email. Is this correct?
- Looks like `password` is must in [Create User](https://auth0.com/docs/api/management/v2#!/Users/post_users). I do not want to create a user with dummy password and then call [Change password](https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change).
- My goal is, find out a way to create the user and send email to create their password. This way user get created and they set their own password.

---

<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:** [May 12, 2022, 5:51pm UTC](https://community.auth0.com/t/how-to-create-a-user-by-sending-email-invitation/83356/3 "2022-05-12T17:51:06Z")

</div>

Hi @Gunjan.Parmar,

Thanks for reaching out to the Auth0 Community!

I understand that you would like to create a user and send them an email invitation.

The [Send Email Invitations for Application Signup](https://auth0.com/docs/customize/email/send-email-invitations-for-application-signup) is the correct way to accomplish this, as you have found. First, you must create the user with an `email`, `password`, and `connection` properties at the minimum. After doing so, you can repurpose a change password reset email as an email invitation.

> [@Gunjan.Parmar](#):
>
> looks like you have to have a user created prior to sending the email. Is this correct?

Yes, this is correct. You will need to create the user on their behalf before sending them the email invitation.

> [@Gunjan.Parmar](#):
>
> Looks like `password` is must in [Create User](https://auth0.com/docs/api/management/v2#!/Users/post_users). I do not want to create a user with dummy password and then call [Change password](https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change).

Unfortunately, you cannot avoid this. All database users must be created with a username and password combination.

I hope this helps!

Please let me know if you have any additional questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 11:33am UTC](https://community.auth0.com/t/how-to-create-a-user-by-sending-email-invitation/83356/4 "2022-12-22T11:33:07Z")

</div>


