User Verification Email via Create a User API (Management API) in Auth0

Overview

This article explains the conditions under which a verification email is sent to a newly created user when using the Create a User endpoint in the Auth0 Management API.

Applies To
  • Auth0
  • Management API
  • Create a User
Solution

When creating a user via Create a User Endpoint (Management API), the sending of a verification email is determined by the verify_email and email_verified parameters. The verify_email parameter, when supplied, takes precedence.

 

Parameter Logic:

  • Using verify_email:
    • If verify_email is set to true, a verification email is sent.
    • If verify_email is set to false, no verification email is sent.
  • When verify_email is not supplied:
    • If email_verified is set to true, no verification email is sent.
    • If email_verified is set to false or is not supplied, a verification email is sent.

Recommended content

No recommended content found...