[
{
"name": {
"value": "string",
"translations": {}
},
"event_type": "string",
"frequency": {
"limit": 0,
"minimum": 0,
"rate": 0
},
"limit": 0,
"minimum": 0,
"rate": 0,
"paused": true,
"data_conditions": {
"operator": [
"string"
],
"value": "string",
"value_type": [
"string"
],
"or_value_is_null": true
},
"audience_id": 0,
"hook_delayed_by_seconds": 0,
"hook_on_checks_failure": true,
"excluded_sources": [
"string"
],
"daily_auto_trigger_at": "string",
"hook_type": "string",
"options": {
"rewards_api": {
"grant_points": 0,
"points_function": "if (eventData.amount > 100) {return eventData.amount * 2;} if (eventData.amount > 50 && eventTime > Date.parse('2024-09-01')) {return 20;} return 0;"
},
"mesages_api": {
"message_id": 0
},
"offers_api": {
"offer_id": 0,
"offer_usable_for_seconds": 0
},
"slack": {
"channel": "string",
"webhook_url": "string"
},
"url": {
"webhook_url": "string",
"webhook_secret": "string"
}
}
}
]