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": 0,
"totalSent": 0
},
"activityId": "string",
"smartflowId": "string",
"senderId": "string",
"message": "string",
"template": "string",
"dontSendMultipart": true,
"templates": [
{
"name": "string",
"senderId": "string",
"message": "string"
}
]
},
"validation": {
"severity": "warn",
"message": "Missing something",
"fields": {
"successCampaignUuid": {
"severity": "warn",
"message": "Missing"
},
"confirmationCampaignUuid": {
"severity": "error",
"message": "Missing"
}
}
}
}