# Message Templates

Learn how to write and manage message templates.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

FusionAuth will use message templates to send codes to users who have chosen to use their phone for multi-factor authentication. This is currently the only built-in workflow which uses message templates.

You may also create your own message templates with localized content and manage them using FusionAuth.

## Managing Templates

FusionAuth ships with default message templates to support SMS and Voice MFA workflows. However, they are not assigned to the tenant Multi-Factor settings by default. To use them, configure tenant Multi-Factor settings.

You may also add new templates. Either use the [Message Template API](https://fusionauth.io/docs/apis/message-templates.md) or the administrative user interface by navigating to Customizations -> Message Templates .

![Adding a message template](https://fusionauth.io/img/docs/customize/email-and-messages/add-message-template.png)

### Base Information

`Id`

*   optional

The unique Id of the Message Template. The template Id may not be changed and will be used to interact with the template when using the APIs.

`Name`

*   required

The name of the template. This value is for display purposes only and can be changed at any time.

`Type`

*   required

The type of the template. Supported values are `SMS` and `Voice`.

## Localization

The message template body can be localized.

You can associate the template text values with a locale. If a user has a preferred language, the localized template will be used when this text message is sent.

![A localized message template for the German locale.](https://fusionauth.io/img/docs/customize/email-and-messages/localize-message-template.png)
---

## Other pages in Email And Messages

> For the full index of this section, see [Customize](https://fusionauth.io/docs/llms-customize.txt).

- [Configure SMTP](https://fusionauth.io/docs/customize/email-and-messages/configure-email.md): Learn how to enable and configure the SMTP server.
- [Application Email Templates](https://fusionauth.io/docs/customize/email-and-messages/configuring-application-specific-email-templates.md): Learn how to override email templates with application specific email templates.
- [Two-Factor with Google Authenticator](https://fusionauth.io/docs/customize/email-and-messages/deprecated/authenticator-app-pre-1-26.md): Learn how to complete a Two-Factor authentication for a User using Google Authenticator.
- [Pre-1.26 2FA](https://fusionauth.io/docs/customize/email-and-messages/deprecated.md): Learn how to complete a Two-Factor authentication for a User.
- [Two-Factor with Twilio Push Notifications](https://fusionauth.io/docs/customize/email-and-messages/deprecated/twilio-push-pre-1-26.md): Learn how to complete Two-Factor authentication for a User using FusionAuth's Twilio push integration.
- [Twilio Integration](https://fusionauth.io/docs/customize/email-and-messages/deprecated/twilio.md): Learn more about the pre 1.26.0 FusionAuth Twilio integration.
- [Email Variables](https://fusionauth.io/docs/customize/email-and-messages/email-templates-replacement-variables.md): Learn which replacement variables and corresponding email templates are available.
- [Email Templates](https://fusionauth.io/docs/customize/email-and-messages/email-templates.md): Learn how to write and manage email templates.
- [Add a Custom Generic Messenger](https://fusionauth.io/docs/customize/email-and-messages/generic-messenger.md): Learn how to add and configure generic messengers.
- [Email & Messages](https://fusionauth.io/docs/customize/email-and-messages.md): An overview of the FusionAuth Email Template system.
- [Message Variables](https://fusionauth.io/docs/customize/email-and-messages/message-templates-replacement-variables.md): Learn which replacement variables and corresponding message templates are available.
- [Messengers](https://fusionauth.io/docs/customize/email-and-messages/messengers.md): Learn about adding and configuring messengers.
- [Send Messages with Twilio](https://fusionauth.io/docs/customize/email-and-messages/twilio-messenger.md): Learn how to add and configur Twilio messengers.
