curl --location --request GET '/smartflows//actions/send/sms/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"activityId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"smartflowId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"ancestorId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"descendantId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"senderId": "",
"message": "",
"template": "",
"dontSendMultipart": true,
"templates": [
{
"name": "",
"senderId": "",
"message": ""
}
],
"metrics": {
"sent": 24,
"totalSent": 999
}
}'{
"data": {
"metrics": {
"sent": 125,
"totalSent": 999
},
"activityId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"smartflowId": "eb358a61-3778-4cd5-aaa4-9d7f4adb9a2d",
"senderId": "Incomaker",
"message": "Exclusive discount today http://myshop.com",
"template": "123456",
"dontSendMultipart": true,
"templates": [
{
"name": "New products",
"senderId": "Incomaker",
"message": "New products arrived! Check http://myshop.com"
}
]
}
}