event object for the send-phone-message Actions trigger provides contextual information about the message to be sent and the user to be challenged or enrolled.
event.client
Information about the Client with which this transaction was initiated. Includes the following properties:client_idString The of the application the user is logging in to.metadataDictionary An object for holding other application properties.nameString The name of the application (as defined in the Dashboard).
event.message_options
Details about the message that is sent to the user. Includes the following properties:-
actionString. The flow that triggered this action. Possible values include:enrollmentsecond-factor-authentication
-
codeString One-time password that the user needs to use to enter in the form. -
message_typeString. How the message will be delivered. Possible values include:smsvoice
-
recipientString Phone number where the message will be sent. -
textString Content of the message to be sent.
event.request
Details about the request that initiated the transaction. Includes the following properties:-
geoipObject. Contains geographical information about the request. Includes the following properties:cityNameOptional stringcontinentCodeOptional stringcountryCodeOptional stringcountryCode3Optional stringcountryNameOptional stringlatitudeOptional numberlongitudeOptional numbersubdivisionCodeOptional stringsubdivisionNameOptional stringtimeZoneOptional string
-
hostnameOptional string The hostname that is being used for the authentication flow. -
ipString The originating IP address of the request. -
languageOptional string The language requested by the browser. -
methodString The HTTP method used for the request -
user_agentOptional string The value of theUser-Agentheader received when initiating the transaction.
event.tenant
Details about the Tenant associated with the current transaction. Includes the following properties:idString The name of the tenant.
event.user
An object describing the user who is attempting to register. Includes the following properties:-
app_metadataOptional dictionary Custom fields that store info about a user that influences the user’s access, such as support plan, security roles, or access control groups. - created_at String Timestamp indicating when the user profile was first created.
-
emailOptional string (unique) User’s email address. -
email_verifiedBoolean Indicates whether the user has verified their email address. -
family_nameOptional string User’s family name. -
given_nameOptional string User’s given name. -
identitiesOptional array of objects. Contains info retrieved from the with which the user originally authenticates. Users may also link their profile to multiple identity providers; those identities will then also appear in this array. The contents of an individual identity provider object varies by provider. Elements include the following properties:connectionOptional string Name of the Auth0 connection used to authenticate the user.isSocialOptional boolean Indicates whether the connection is a social one.profileDataOptional dictionary User information associated with the connection. When profiles are linked, it is populated with the associated user info for secondary accounts.providerOptional string Name of the entity that is authenticating the user, such as Facebook, Google, SAML, or your own provider.user_idOptional string User’s unique identifier for this connection/provider.last_password_resetOptional string Timestamp indicating the last time the user’s password was reset/changed. At user creation, this field does not exist. This property is only available for Database connections.nameOptional string User’s full name.nicknameOptional string User’s nickname.phone_numberOptional string User’s phone number.phone_verifiedOptional boolean Indicates whether the user has verified their phone number.pictureOptional string URL pointing to the user’s profile picture.updated_atString Timestamp indicating when the user’s profile was last updated/modified.user_idString (unique) User’s unique identifier.user_metadataDictionary Custom fields that store info about a user that does not impact what they can or cannot access, such as work address, home address, or user preferences.usernameOptional string (unique) User’s username.