curl --location '/smartflows//actions/popup' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"ancestorId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"thumbnail": "/asset/15613/templates/5135sdf1sd32",
"dateFrom": "2025-05-15T12:00:00+02:00",
"dateTo": "2025-05-15T12:00:00+02:00",
"show": "once",
"audience": "all",
"target": [
{
"type": "url",
"value": "incomaker.com"
}
],
"showAfterSeconds": 5,
"pageViewedAtLeast": 45,
"onExit": true,
"teaserText": "Subscribe",
"teaserPosition": "bottomLeft",
"teaserBackgroundColor": "#AABBCC",
"teaserForegroundColor": "#FFFFFF",
"teaserRoundedCorners": "5px",
"teaserContentMargins": "10px 20px 20px 10px",
"teaserContentPaddings": "10px 20px 20px 10px",
"teaserFontSize": "16px",
"teaserShowAfterSeconds": 5,
"teaserCanBeClosed": true,
"teaserFontWeight": "normal",
"teaserCloseButtonPosition": "inside",
"teaserCloseButtonSize": "small"
}'