Create User

Create a user in Auth0 with either a database or passwordless connection.

Options

Field Definition Type Required
Connection Type Type of connection for the user creation:
  • Database: This type of connection authenticates the user through an email or username and password. These credentials are securely stored in the Auth0 user store or in your own database.
  • Passwordless - Email: This type of connection allows the user to sign in without a password. Instead, the user enters their email address and receives a one-time password (OTP) or link for signing in.
  • Passwordless - SMS: This type of connection allows the user to sign in without a password. Instead, the user enters their mobile phone number and receives a one-time password (OTP) or link for signing in.

Available input fields may change depending on the type of connection chosen. Any particular fields are noted in the Input table.

Dropdown TRUE

Inputs

Field Definition Type Required
User
ID The external user's identifier, as given by the Identity Provider.

This input is only available if you select the Database option.

Text FALSE
Name Name of the user. Text FALSE
Email Verified Indicates whether this email address is verified or unverified.

The user receives a verification email after creation if this is false or not specified.

True/False FALSE
Email The email address of the user.

This input isn't available for the Passwordless - SMS option.

Text TRUE
Given Name Given name of the user. Text FALSE
Phone Number The user's phone number.

The number format must follow the globalized E.164 recommendation of 12 characters, including the region code and area code. For example, +15559876543.

This input is only available if you select the Passwordless - SMS option.

Text TRUE
Phone Verified Indicates whether this phone number is verified or unverified.

This input is only available if you select the Passwordless - SMS option.

True/False FALSE
Metadata Custom fields that store information about a user. These fields don't impact the user 's account access. For example, the user's work address, home address, or other preferences.

For more details on metadata storage, see Understand How Metadata Works in User Profiles.

This input doesn't require a specific format.

Object FALSE
Username The username for the external user.

This field is valid only if the connection requires a username input.

Text FALSE
Family Name Family name of the user. Text FALSE
Nickname Nickname of the user. Text FALSE
App Metadata Custom fields that store information about a user. These fields do influence the user's account access. For example, the user's support plan, security roles (if you aren't using Auth0 Authorization Core features), or access control groups.

For more details on metadata storage, see Understand How Metadata Works in User Profiles.

This input doesn't require a specific format.

Object FALSE
Picture A uniform resource identifier (URI) containing the user's picture.

For example, https://www.akc.org/wp-content/uploads/2017/11/Pomeranian-On-White-01.jpg

Text FALSE
Blocked Indicates whether an administrator has blocked this user or not. True/False FALSE
Verify Email Indicates whether Auth0 sends the user a verification email after creating the account (true) or not (false).

This overrides the behavior set by the Email Verified input.

True/False FALSE
Password Initial password for the user account.

This input is only available if you select the Database option.

Text TRUE
Connection The name of the connection where this user should be created.

The card fetches the available choices dynamically from the Auth0 API.

This input is only available if you select the Database option.

Dropdown TRUE

Outputs

Field Definition Type
Result
Raw Output The raw response object returned by the API after creating the user. Object
ID Unique external ID of the user. Text
Email The email address of the user. Text
Email Verified Indicates whether this email address is verified or unverified.

The user receives a verification email after creation if this is false or not specified.

True/False
Username Username of the user. Text
Phone Number The user's phone number.

This output value only appears for users with SMS connections.

Text
Phone Verified Indicates whether this phone number is verified or unverified.

This output value only appears for users with SMS connections.

True/False
Created At A timestamp indicating when the user profile was initially created. Text
Updated At A timestamp indicating when the user's profile was most recently updated or modified.

Changes to Last Login are considered updates, so most of the time, Updated At matches Last Login.

Text
Identities Contains information retrieved from the Identity Provider that originally authenticates the user. List of Objects
Connection Name of the Auth0 connection used to authenticate the user. Text
User ID User's unique ID for this connection or provider. Text
Provider Name of the entity that authenticated the user. For example, Facebook, Google, SAML, or your own provider. Text
Is Social Indicates whether the connection is authenticated through a social provider. True/False
App Metadata Data related to the user that does affect the application's core functionality. Object
Metadata Data related to the user that doesn't affect the application's core functionality. Object
Picture A uniform resource identifier (URI) containing the user's picture.

For example, https://www.akc.org/wp-content/uploads/2017/11/Pomeranian-On-White-01.jpg

Text
Name Name of the user. Text
Nickname Nickname of the user. Text
Multifactor List of multifactor providers where the user is enrolled. List of Objects
Last IP IP address associated with the user's last sign-in attempt. Text
Last Login A timestamp indicating when the user last signed in. Text
Logins Count Number of times the user has signed in. Number
Blocked Indicates whether an administrator has blocked this user or not. True/False
Given Name Given name of the user. Text
Family Name Family name of the user. Text

Related topics

Auth0 connector

Workflow elements

Auth0 Management API Access Tokens

Auth0 Management API