curl --location --request POST 'https://app.audienceful.com/api/automations/event/' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <token>' \
--data-raw '{
"event": "custom-event",
"email": "[email protected]",
"event_properties": {
"reset-link": "https://website.com/reset"
},
"fields": {
"custom_field": "value"
}
}
}'