> For the complete documentation index, see [llms.txt](https://fusionauth.io/docs/llms.txt)

# Message Templates | FusionAuth Docs

Learn how to write and manage message templates.

# Message Templates

[Edit on GitHub](https://github.com/FusionAuth/fusionauth-site/blob/main/astro/src/content/docs/customize/email-and-messages/message-templates.mdx)

[View Markdown](https://fusionauth.io/docs/customize/email-and-messages/message-templates.md)

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[#](#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[#](#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[#](#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)