Amazon Cognito
Developer Guide

Customizing the SMS Message

You can customize the SMS message for MFA authentication by editing the template under the Do you want to customize your SMS messages? heading.

Important

Your custom message must contain the {####} placeholder, which is replaced with the authentication code before the message is sent.

The maximum length for the message is 140 UTF-8 characters, including the authentication code.

Customizing SMS Verification Messages

You can customize the SMS message for phone number verifications by editing the template under the Do you want to customize your SMS verification messages? heading.

Important

Your custom message must contain the {####} placeholder, which is replaced with the verification code before the message is sent.

The maximum length for the message is 140 UTF-8 characters, including the verification code.