Trigger Event
Fires a custom automation event for a contact.
POST
Requires the
events:write scope. Triggering an event enrolls the contact in any automations whose trigger matches the event name. Processed asynchronously — the response returns immediately with an operation_id.
Body
The email of the contact to trigger the event for.
The name of the custom event trigger to fire (case-insensitive). Must match an event defined in the workspace — an unknown event returns a
404. List available events with List Automation Events.An optional dictionary of event properties. These are used for inserting custom content into the emails in the automation that reference a matching data variable.
Create the contact if they don’t already exist.
Custom field values to set on the contact, keyed by each field’s
data_name.Response
Returns202 Accepted.
The id of the async operation.
The full URL of the operation — poll it to watch the trigger progress from
pending → processing → succeeded.The operation’s initial status,
pending. Poll the operation to see it move as it is processed.The name of the event that was triggered.
The email the event was triggered for.

