curl --location --request PUT '/smartflows//targets/condition/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"items": [
{
"key": "url",
"operator": "contains",
"value": "https://www.incomaker.com/link.xhtml"
}
],
"noConditionDelay": {
"value": 5,
"unit": "minute"
},
"filter": "click"
}'{
"error": "Reason of failure"
}