Report a workflow event
POST
Stores the event idempotently, then triggers or exits workflows; a duplicate event returns 200 and a new event returns 201.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
application/json- body
Workflow event input
event_id*stringStable event ID (idempotency key); retries must reuse it
event_name*stringEvent name (matched against trigger and exit conditions)
occurred_at*stringEvent time, ISO-8601
contact*Contact
properties?Event properties, JSON up to 64KB
[key: string]?unknownDuplicate event (idempotent)
application/json- response
success*booleanduplicate*booleanevent*[key: string]?unknowncurl -X POST 'https://api.mailly.site/events' \ -H 'Content-Type: application/json' \ -d '{ "event_id": "string", "event_name": "string", "occurred_at": "string", "contact": { "external_contact_id": "string", "email": "string" }, "property1": null, "property2": null}'{ "success": true, "duplicate": true, "event": { "property1": null, "property2": null }, "property1": null, "property2": null}