curl --location '/smartflows//triggers/link-click' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"ancestorId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"campaignId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"trigger": "click",
"source": "email",
"urls": [
"https://www.incomaker.com",
"https://www.incomaker.com/about-us"
],
"duration": {
"value": 24,
"unit": "minute"
}
}'{
"activityId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"name": "Custom activity name",
"campaignUuid": "4a06896c-81b3-44f4-b493-2057bef951a2",
"nextActivityType": "triggers"
}