Last Updated on : 2023-06-15 05:14:01
Send verification codes, notifications, or marketing messages to users’ apps.
POST: /v1.0/iot-03/messages/app-notifications/actions/push
Parameter name | Type | IN | Required | Description |
---|
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
biz_type | Integer | true | The business type of Tuya ecosystem. | |
template_id | String | true | The approved push notification template ID. | |
template_param | String | false | The actual value corresponding to the variable of push notification template, in the JSON format. |
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/app-notifications/actions/push
{
"uid": "ay1528287200853*****",
"biz_type": 10,
"template_id": "PUSH_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