# Send Email Invitations for Application Signup - Sending emails via API

**URL:** <https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [May 13, 2021, 7:43pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760 "2021-05-13T19:43:50Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joseph4/32/12921_2.png) [@joseph4](https://community.auth0.com/u/joseph4)\
**Post date:** [May 13, 2021, 7:43pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/1 "2021-05-13T19:43:50Z")

</div>

I’m trying to implement the “Send Email Invitations for Application Signup” use-case as found here: [https://auth0.com/docs/email/send-email-invitations-for-application-signup](https://auth0.com/docs/email/send-email-invitations-for-application-signup).

I’m able to use Auth0’s Management API to create a user and a password reset ticket per the instructions, but it’s not clear how to proceed with the email template per the “Create email template” section. There doesn’t seem to be a way to send an email using the API. Any help would be appreciated.

---

<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:** [May 14, 2021, 6:34am UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/3 "2021-05-14T06:34:12Z")

</div>

Hey there!

That’s a good question, let me research that and get back to you as soon as I have news to share!

---

<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:** [May 17, 2021, 10:44am UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/4 "2021-05-17T10:44:21Z")

</div>

I’m still waiting on the response from the docs team on that. I’ll get back to you as soon as I have it

---

<div class="post-metadata">

**Author:** ![joseph4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joseph4/32/12921_2.png) [@joseph4](https://community.auth0.com/u/joseph4)\
**Post date:** [May 17, 2021, 12:48pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/6 "2021-05-17T12:48:49Z")

</div>

Thank you, I appreciate you looking into this matter and look forward to your solution.

---

<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:** [May 17, 2021, 12:59pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/7 "2021-05-17T12:59:35Z")

</div>

No worries! We’re here for you!

---

<div class="post-metadata">

**Author:** ![lumenad-rmartinez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lumenad-rmartinez/32/26881_2.png) [@lumenad-rmartinez](https://community.auth0.com/u/lumenad-rmartinez)\
**Post date:** [June 1, 2021, 7:30pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/9 "2021-06-01T19:30:22Z")

</div>

Being able to Send emails via API is a need we also have for our Auth0 implementation. Has a solution been found?

---

<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:** [June 2, 2021, 8:30am UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/10 "2021-06-02T08:30:57Z")

</div>

There’s no info from the docs and product team yet. Let me follow-up on that

---

<div class="post-metadata">

**Author:** ![joseph4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joseph4/32/12921_2.png) [@joseph4](https://community.auth0.com/u/joseph4)\
**Post date:** [June 2, 2021, 1:04pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/11 "2021-06-02T13:04:40Z")

</div>

I ended up using another email provider. It would be nice if Auth0 worked as it is documented/advertised but after much digging this feature doesn’t seem to be supported.

---

<div class="post-metadata">

**Author:** ![lumenad-rmartinez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lumenad-rmartinez/32/26881_2.png) [@lumenad-rmartinez](https://community.auth0.com/u/lumenad-rmartinez)\
**Post date:** [June 10, 2021, 5:41pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/12 "2021-06-10T17:41:20Z")

</div>

We might have to do the same as joseph4. But we would like to not have to use an outside email provider for some emails.

Any update from the docs and product team yet?

---

<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:** [June 11, 2021, 7:38am UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/13 "2021-06-11T07:38:25Z")

</div>

As soon as I get any update from the team, I’ll make sure to relay it here

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [July 12, 2021, 9:24am UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/14 "2021-07-12T09:24:07Z")

</div>

For the process outlined in the [documentation](https://auth0.com/docs/email/send-email-invitations-for-application-signup), you have two options currently:

A.) Generate a password reset ticket URL, and append it to an email that you send yourself, be it via your email provider’s API or manually.

B.) [Customise](https://auth0.com/docs/email/customize-email-templates) your Auth0 tenant’s password reset email template, so that the wording in the template makes sense to the end-user, such that it could be used for both an invite flow and a password reset flow, and then trigger the reset password flow via the [change\_password endpoint](https://auth0.com/docs/api/authentication#change-password) to send them the email via Auth0

As a side note, the Organizations feature has recently introduced an invite flow, but this currently cannot be used for anything other than inviting members to Organizations:

- [https://auth0.com/docs/organizations](https://auth0.com/docs/organizations)
- [Invite Organization Members](https://auth0.com/docs/organizations/invite-members)

---

<div class="post-metadata">

**Author:** ![brando](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brando/32/12851_2.png) [@brando](https://community.auth0.com/u/brando)\
**Post date:** [August 25, 2021, 3:25am UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/15 "2021-08-25T03:25:03Z")

</div>

Hey - I’m unsure how we customize the password reset email given a hook that I have set up to change a password. I’m using this code to generate a hook - [Authenticate and prompt user password change with a single email - #4 by Lee\_Peters](https://community.auth0.com/t/authenticate-and-prompt-user-password-change-with-a-single-email/57221/4). But given the fact that email template is HTML and there isn’t a parameter that we can send in the authClient.requestChangePasswordEmail function call specifying that it is a set up, I’m confused on how to proceed/customize the template. Thanks

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [August 27, 2021, 3:02pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/16 "2021-08-27T15:02:43Z")

</div>

Hi Brando, welcome to the community!

I’m afraid you can’t send a parameter or similar to that endpoint to change the contents of the Password Reset email, instead if you are using Auth0’s email sending features only you would need to customise the template to play a dual role so the wording made sense to the end user from both an invite and a forgotten password flow, so you could send them the same email for both flows interchangeably.  
If you want to have a completely separate email template, you would need to use your hook to send the email directly via your SMTP provider’s endpoints, or send it manually/automate the process externally when you created a new user.

---

<div class="post-metadata">

**Author:** ![brando](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brando/32/12851_2.png) [@brando](https://community.auth0.com/u/brando)\
**Post date:** [August 27, 2021, 10:57pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/17 "2021-08-27T22:57:12Z")

</div>

This makes a ton of sense - thanks! For now, I’ve adjusted the wording actually in a welcome email to say that you will get a change password email which acts as setting a password for your account the first time you receive that email. I’ll think about going the SMTP provider solution possibly later but for now what you described works

---

<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:** [August 30, 2021, 12:18pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/18 "2021-08-30T12:18:40Z")

</div>

Thanks for helping on this one Steve! Let us know Brando once you have any further questions down the road feel free to ask!

---

<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 14, 2021, 12:19pm UTC](https://community.auth0.com/t/send-email-invitations-for-application-signup-sending-emails-via-api/62760/19 "2021-09-14T12:19:17Z")

</div>

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