Are There Any Requirements on the Format of the Mobile Numbers Entered When Calling APIs to Send SMSs?
When you call the SMS Sending API and Batch SMS Sending API,
the to parameter specifies recipient numbers. The standard number format is +{Country code}{Region code}{Mobile number}.
- All recipient numbers to which international SMSs are sent must be in the standard format, for example, +2412000000 (a Gabon number).
- If an SMS is sent to recipients in the Chinese mainland and +{Country code} does not exist, the default country code +86 is used; if the recipient number is a mobile number, {Region code} is optional, for example, +8613112345678.
Separate multiple recipient numbers with commas (,). Each number contains a maximum of 21 characters, and a maximum of 500 numbers are supported.
Others FAQs
- What Are the Rules for SMS Barring?
- Can Message & SMS Resources Be Transferred Across Accounts?
- Can I Use the Message & SMS Service in Other Cloud Services (Such as Cloudsite Service) If Another Account Has Enabled the Message & SMS Service?
- Can I Migrate SMS Templates and Signatures Archived on a Third-Party Cloud Platform to HUAWEI CLOUD?
- Can I Use Huawei Cloud Message & SMS When My Services Are Deployed on Other Cloud Platforms?
- How Do I Enable the Message & SMS Service Again After It Is Disabled Due to Arrears?
- Are There Any Requirements on the Format of the Number File to Be Imported When Using the Group Message Assistant?
- Are There Any Requirements on the Format of the Mobile Numbers Entered When Calling APIs to Send SMSs?
- Where Are Message & SMS Servers Deployed?
- How Long Is the Test Signature and Template Valid for? (Chinese Mainland SMS)
- How Do I Query SMS Messages Replied by Subscribers (Uplink SMS Messages)? (Chinese Mainland SMS)
- How Do I Use a Test Signature and Template? (Chinese Mainland SMS)
- How Can I Associate a Downlink SMS with an Uplink SMS? (Chinese Mainland SMS)
- Is the Downlink SMS ID the Same as the Uplink SMS ID? (Chinese Mainland SMS)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore