Optional Approach to Email Invitations for Application Signup
Dec 5, 2025
Overview
This article describes a method for inviting users to an application. The process involves an administrator creating a new user, which triggers an email invitation for the user to set their password and gain access.
Applies To
-
Management API
-
Authentication API
Solution
The following steps describe how to send a password reset email after an administrator creates a user:
- Invite a user by creating a new user via the Management API Create a user endpoint. Set the
email_verifiedparameter tofalseand assign a randomly generated password. This password will not be communicated or used. - Trigger an interactive password reset flow by sending a request to the Authentication API Create A Password (Change Password) endpoint.
- Auth0 sends the Change Password email template.
- To customize the template, go to Branding > Email Templates.
- Select Change Password from the dropdown menu.
- Edit the subject and body. The following example shows how to change the subject line based on user verification status:
{% if user.email_verified %}Change password for{% else %}Welcome to{% endif %} {{ friendly_name }}
- When the user clicks the link in the email, the Password change page appears.
- NOTE: This page can also be customized to provide different text for a first-time invitation versus a standard password reset.
- Once the user sets their password, Auth0 automatically sets the
email_verifiedproperty for the user totrue, completing the invitation workflow.