Last Updated on : 2023-06-15 05:32:00
Send verification codes, notifications, or marketing SMS messagesto users.
POST: /v1.0/iot-03/messages/sms/actions/push
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
country_code | String | true | The country code. | |
phone | String | true | The phone numbers that receive the messages. | |
template_id | String | true | The SMS template ID. Enter the template ID that has been approved. | |
template_param | String | false | The actual value corresponding to the message template variable, in the JSON format. | |
sign_name | String | false | The SMS signature. |
Parameter name | Type | Description |
---|---|---|
result | MsgPushRes |
Description of result
Parameter name | Type | Description |
---|---|---|
send_status | Boolean | The status of sending a specified message. |
POST: /v1.0/iot-03/messages/sms/actions/push
{
"country_code": "86",
"phone": "151********",
"template_id": "SMS_1616396456",
"template_param": "{\"code\":\"1234\"}"
}
{
"result": {
"send_status": true
},
"t": 1586153261345,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback