Updated on 2024-06-06 GMT+08:00

How to Use Chinese Mainland SMS

Usage Flow

Task

Procedure

Remarks

1. Register with Huawei Cloud

  1. Register an enterprise account.
  2. Start enterprise real-name authentication.
  • Only enterprise users can enable Message & SMS.
  • Register an account using an email and complete account information as an enterprise user on the international website.
  • The authentication review will be completed within three workdays. The authentication immediately takes effect after the submitted information is approved. Then, you can apply for enabling Message & SMS. For details, see Enterprise Real-Name Authentication.

2. Apply for Message & SMS

  1. Visit the Enable Message & SMS page.
  2. Select I have read and agree to Message & SMS Service Usage Statement.
  3. Click Enable Now for review.

Click Message & SMS Service Agreement to view detailed information.

CAUTION:

You can only apply for enabling Message & SMS after completing 1 and 2. The complete account registration process includes registering an account using an email, binding a mobile number, completing account information, and specifying a payment method. To use complete functions of Message & SMS, log in to Huawei Cloud after enabling the service, and click LINK in the message to add account details. (If you have not bound a service mobile number, bind one.)

3. Create an SMS application

  1. Create an SMS application.
  2. Obtain the Application Key, Application Secret, and Application Access Address by choosing Chinese Mainland SMS > Application Management on the console.

By default, only two Chinese Mainland SMS applications can be added. You can apply for different signatures and templates based on service requirements.

4. Apply for an SMS signature

  1. Before applying for a signature, read the Signature Rules.
  2. Apply for an SMS signature.

SMS signatures submitted during 09:00 and 18:00 (GMT+08:00) on workdays will be reviewed within 2 hours. SMS signatures submitted after 18:00 (GMT+08:00) will be reviewed on the next workday. The review is performed only on workdays. If there is a legal holiday, the review may be postponed.

NOTE:

For details about the review time for special countries/regions, see Registration Rules in Some Countries/Regions.

5. Apply for an SMS template

  1. Before applying for a template, read the Template and Variable Specifications.
  2. Apply for an SMS template.

SMS templates submitted during 09:00 and 18:00 (GMT+08:00) on workdays will be reviewed within 2 hours. SMS templates submitted after 18:00 (GMT+08:00) will be reviewed on the next workday. The review is performed only on workdays. If there is a legal holiday, the review may be postponed.

NOTE:

For details about the review time for special countries/regions, see Registration Rules in Some Countries/Regions.

6. Set the traffic threshold

For details about how to set the traffic threshold, see Settings.

Set alarm values and limit values for SMS sending based on your service requirements.

7. Send SMSs

  • If SMS status reports are to be sent to the customer server, use the statusCallback parameter to specify the address to which the SMS status reports are to be sent.
  • When Group SMS Assistant is used, choose Group SMS Assistant > Task Management on the Message & SMS console. Click View in the Operation column of the target task to view its details.

8. Check the send status

Check the SMS sending status by referring to How Do I Determine Whether an SMS Was Sent Successfully.

If the SMS fails to be sent, rectify the fault by following the handling suggestions in API Error Codes and SMS Status Error Codes, and resend the SMS.

Service Flow

Role

Procedure

Remarks

Description

Customer/Customer server

Create an SMS application.

By default, only two Chinese Mainland SMS applications can be added.

You can apply for different signatures and templates based on service requirements.

Apply for an SMS signature.

By default, a maximum of 200 signatures can be created for each application. To increase the quota, submit a service ticket or contact the account manager.

Select a proper signature type and submit it to the operation manager for approval.

Apply for an SMS template.

  • By default, a maximum of 2,000 templates can be created for each application. To increase the quota, submit a service ticket or contact the account manager.
  • The general template is supported (applies only to verification code or notification signatures).

Select a proper template type and submit it to the operation manager for approval.

Set the traffic threshold.

  • If the total number of SMSs sent exceeds an alarm value, the platform will send alarm SMS notifications to contacts.
  • If the total number of SMSs sent exceeds a limit value, the platform will automatically suspend SMS sending.

Set alarm values and limit values based on your service requirements.

Send SMSs using the SMS API.

An SMS can be sent to a maximum of 500 numbers.

-

Send SMSs using the Group SMS Assistant.

  • Only notification signatures can be used.
  • Max. numbers in a batch sending task: 1 million. Supported file: XLSX file with size up to 12 MB.

SMSs can be sent at scheduled time. Plan the time properly.

Receive and respond to an SMS status report.

  • When an SMS API is called, the statusCallback parameter specifies the address to which an SMS status report is sent.
  • Authentication is not required if the SMS platform sends SMS status reports to the customer server.
  • A customer server sends a 200 OK response after receiving an SMS status report.

The SMS platform pushes SMS status reports to the customer server. Ensure that the address specified by the statusCallback parameter is available.

The customer server receives and responds to an uplink SMS.

  • Set the address for receiving uplink SMSs when creating an SMS application.
  • A customer server sends a 200 OK response after receiving an SMS status report.

The SMS platform pushes uplink SMSs to the customer server. Ensure that the customer server's address is available.