curl --location --request GET '/smartflows//actions/send/nps/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data-raw '{
"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",
"subject": "Welcome!",
"preheader": "Here’s a special message for you.!",
"from": "Marketing",
"fromEmail": "marketing@company.com",
"replyTo": "support@company.com",
"cc": "backup@incomaker.com",
"language": "cs",
"assetId": 1213,
"metrics": {
"sent": 24,
"toSent": 123,
"language": "CZ"
}
}
}'