Saltar al contenido

How do I use Amazon SNS or Amazon Pinpoint to send SMS messages to mobile phone numbers in China?

2 minutos de lectura
0

I want to use Amazon Simple Notification Service (Amazon SNS) or Amazon Pinpoint to send mobile text messages (SMS messages) to phone numbers in China.

Short description

To send SMS messages in China, you must first preregister your message template for each type of message that you plan to send. Then, send your SMS messages with one of your preregistered templates.

Important: If you don't meet these requirements, then the mobile phone carrier blocks the SMS messages that you send in China.

Resolution

Create an SMS message template for each type of message that you plan to send

Follow the instructions to create an SMS template for Amazon SNS or Amazon Pinpoint. Make sure that you follow the best practices for Adding personalized content to message templates.

Example SMS template:

SERVICE: Your one-time password is {{OTP}}. This code will expire in 10 minutes.

Note: Replace SERVICE with the name of your service.

Note: For information about the size quotas for SMS messages, see Publishing SMS messages to a mobile phone using Amazon SNS.

Preregister your SMS message templates in China

To preregister your SMS message template in China, you must open a support case in the AWS Management Console. To open a support case for Amazon SNS or Amazon Pinpoint, follow the instructions to complete the China SMS template registration form. Make sure that you attach your SMS message template to your support case.

Use your preregistered templates to send your SMS messages

Important: If the message that you send doesn't match the SMS message template that you preregistered, then the mobile phone carrier blocks the message. Also, don't send SMS messages in China that include a sender ID. China doesn't support sender IDs.

Amazon SNS

Follow the instructions to either publishing to a topic or publishing to a mobile phone, based on your scenario. For more information, see Mobile text messaging with Amazon SNS.

Amazon Pinpoint

Follow the instructions to send a test SMS message. For more information, see Getting started with Amazon Pinpoint.

OFICIAL DE AWSActualizada hace 25 días
1 comentario

This article was reviewed and updated on 2026-09-17.

EXPERTO

respondido hace 25 días