Skip to main content
To customize multi-factor authentication SMS and voice messages sent by Auth0:
  1. Go to Dashboard > Security > Multi-factor Auth, and click Phone Message.
  2. In the Enrollment Template or Verification Template section, customize your message.
  3. Click Save.
The Enrollment Template defines the message sent when a user enrolls a new device for the first time using MFA. The Verificiation Template defines the message sent when a user logs in after enrollment.

Syntax

Liquid syntax is the supported templating engine you use when accessing user attributes in SMS templates. The following attributes are available: An example of using Liquid syntax to send different messages for voice and SMS by language:

Localization

In the Auth0 Authentication API, the Get Code or Link endpoint, MFA Challenge request endpoint, and MFA Add an authenticator endpoint support the x-request-language header. To use it, set your supported languages in Tenant > Settings (under Supported Languages). When the x-request-lanuage header is sent, that locale is available in the locale variable in the MFA phone message templates. See Passwordless Multi-Language Support for details.

Learn more