SMS
The SMS connector allows you to send SMS messages via Huawei Cloud SMS.
Prerequisites
SMS is enabled.
Creating an SMS Connection
- Log in to the new ROMA Connect console.
- In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
- Select the SMS connector.
- In the dialog box displayed, configure the connector and click OK.
Parameter
Description
Name
Enter the connector instance name.
App Key
Access key. When you create a Message&SMS application, the platform automatically generates the APP_Key and APP_Secret, which are used for authentication when the SMS APIs are called.
App Secret
Access key. When you create a Message&SMS application, the platform automatically generates the APP_Key and APP_Secret, which are used for authentication when the SMS APIs are called.
Description
Enter the description of the connector to identify it.
Action
Sending SMSs
Configuring Parameters
Parameter |
Description |
---|---|
Region |
Region where the SMS service resides. |
Project |
Project to which the SMS service belongs. |
Channel ID |
Enter the channel number for sending SMSs.
|
Send With |
Select the SMS sending mode. You can select Custom content or Template. |
Message Content |
Required when Send With is set to Custom content. Enter the SMS content of maximum 2000 bytes. Chinese mainland SMSs must contain an SMS signature. Example: [SMS notification] Welcome to the SMS service. |
Template ID |
Required when Send With is set to Template. Enter the unique ID obtained when applying for an SMS template. Template ID must be used together with Template Variable Values. |
Template Variable Values |
Required when Send With is set to Template. Enter the variable value in the SMS template. The number and length of variables must be consistent with those defined in the template specified by Template ID. For example, if the template specified by Template ID contains two variables with lengths of 5 and 6, set two variables with lengths not exceeding 5 and 6, respectively. For template content You have ${1} parcel to be claimed at ${2}, this parameter can be set to '["3", "Park Main Entrance"]'. |
Recipient Number |
Enter the number of the SMS message recipient.
|
Callback URL |
Enter the callback address for receiving the SMS status report, for example, http://xx.com/receiveSMSReport. |
Extended Parameter |
Enter the extended parameter to be returned in the status report. Braces ({}) are not allowed. |
Signature Name |
The signature name must be approved and consistent with the template type. This parameter is valid and required when a general template is specified. This is the signature before the SMS content in the general template. This parameter is not required for international SMSs. |
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