Events
Trigger Events (Bulk)
Trigger multiple events for a subscriber in one request
POST
Trigger Events (Bulk)
Trigger multiple events for a subscriber in one request. Creates the subscriber and/or event definitions if they don’t exist.
New subscribers created by this endpoint follow your workspace default lists
setting.
Events are processed independently. If one event fails, previously triggered
events are not rolled back, so retry an error response as a partial success.
Request Body
Subscriber delivery email address. Required when creating a new subscriber.
Your app/customer/user ID for this subscriber. You can trigger events with
only
externalId when the subscriber already exists.Array of events to trigger
Event name
Event properties/metadata
Custom attributes to set on the subscriber.
Auto-Creation Behavior
This endpoint automatically creates resources if they don’t exist:| Resource | Behavior |
|---|---|
| Subscriber | Created if email doesn’t exist - active status, or pending confirmation when double opt-in is enabled |
| Event Definitions | Each event type created if new |
Double Opt-In
When the workspace has double opt-in enabled and this request creates a brand-new subscriber, the subscriber is stored pending confirmation and a single confirmation email is queued for the whole request. All events are still recorded, and sequences triggered by them wait at their trigger step until the subscriber confirms. The response then includes anoptIn object.
Responses
Response Fields
| Field | Description |
|---|---|
subscriber.created | true if subscriber was created by this request |
events[].definitionCreated | true if this event type was newly defined |
optIn | Present when the new subscriber requires double opt-in confirmation before becoming active |
Use Cases
Track User Session
Record Funnel Progress
Batch Import Historical Events
Each event in the bulk request is processed independently. Sync rules and
automation triggers are evaluated for each event, and successful events are
not rolled back if another event in the same request fails.
Trigger Events (Bulk)