curl --location '/smartflows//triggers/website-viewed' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"state": "paused",
"ancestorId": "string",
"descendantId": "string",
"dateFrom": "2019-08-24T14:15:22.123Z",
"dateTo": "2019-08-24T14:15:22.123Z",
"show": "once",
"audience": "all",
"target": [
{
"field": "string",
"match": "string",
"value": "string"
}
],
"waitToStart": {
"value": 0,
"unit": "second"
},
"oncePerPeriod": {
"value": 0,
"unit": "second"
},
"pageViewedAtLeast": 0,
"onExit": true,
"forceReshowForAll": true
}'