Help Center/ Message & SMS/ Developer Guide/ Development Preparation
Updated on 2024-07-03 GMT+08:00

Development Preparation

International SMS

The following parameters must be specified before you develop an international SMS application.

Parameter

Example Value

Where to Find the Setting

Document

Application Key

c8RWg3ggEcyd4D3p94bf3Y7x1Ile

Log in to the Message & SMS console, and choose International SMS > Application Management.

Creating an SMS Application

Application Secret

q4Ii87BhST9vcs8wvrzN80SfD7Al

Application Access Address

https://smsapi.ap-southeast-1.myhuaweicloud.com:443

Channel No.

isms12345678

Template ID

8ff55eac1d0b478ab3c06c3c6a492300

Log in to the Message & SMS console, and choose International SMS > Template Management.

Note: Obtain the value of this parameter based on the value of Application. When sending different SMSs in batches, you can specify multiple template IDs.

Applying for an SMS Template

URI

SMS Sending: /sms/batchSendSms/v1

Batch SMS sending: /sms/batchSendDiffSms/v1

Obtain the URI from the API Type described in section SMS Sending API or Batch SMS Sending API.

SMS Sending API

Batch SMS Sending API

The relationships between the data to be prepared and the SMS API request parameters are as follows:

Chinese Mainland SMS

The following parameters must be specified before you develop a Chinese Mainland SMS application.

Parameter

Example Value

Where to Find the Setting

Document

Application Key

c8RWg3ggEcyd4D3p94bf3Y7x1Ile

Log in to the Message & SMS console, and choose Chinese Mainland SMS > Application Management.

Creating an SMS Application

Application Secret

q4Ii87BhST9vcs8wvrzN80SfD7Al

Application Access Address

https://smsapi.ap-southeast-1.myhuaweicloud.com:443

Signature Name

Huawei Cloud SMS test

Log in to the Message & SMS console, and choose Chinese Mainland SMS > Signature Management.

Note: Obtain the values based on the value of Application. If Template Type is Universal template, the signature name must be specified.

Applying for an SMS Signature

Channel No.

csms12345678

Template ID

8ff55eac1d0b478ab3c06c3c6a492300

Log in to the Message & SMS console, and choose Chinese Mainland SMS > Template Management.

Note: Obtain the value of this parameter based on the values of Application and Signature. When sending different SMSs in batches, you can specify multiple template IDs.

Applying for an SMS Template

URI

SMS Sending: /sms/batchSendSms/v1

Batch SMS sending: /sms/batchSendDiffSms/v1

Obtain the URI from the API Type described in section SMS Sending API or Batch SMS Sending API.

SMS Sending API

Batch SMS Sending API

The relationships between the data to be prepared and the SMS API request parameters are as follows: