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 . |
|
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 .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. |
|
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. |
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 . |
|
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 .Note: Obtain the values based on the value of Application. If Template Type is Universal template, the signature name must be specified. |
|
Channel No. |
csms12345678 |
||
Template ID |
8ff55eac1d0b478ab3c06c3c6a492300 |
Log in to the Message & SMS console, and choose .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. |
|
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. |
The relationships between the data to be prepared and the SMS API request parameters are as follows:
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.
Chatbot