Subscribers
Trigger event for subscriber
Triggers an event for a subscriber. Creates the subscriber if they don't exist and applies the workspace default lists setting. Creates the event definition if it doesn't exist. When the workspace has double opt-in enabled, a brand-new subscriber is created pending confirmation, the confirmation email is queued, and matching sequences wait at their trigger until the subscriber confirms.
post/subscribers/events
Request body
Example request
{
"email": "user@example.com",
"externalId": "user_123",
"firstName": "John",
"lastName": "Doe",
"event": "purchase.completed",
"properties": {
"amount": 9900,
"currency": "USD",
"productId": "prod_123"
},
"occurredAt": "2024-11-02T10:00:00Z",
"eventId": "inv_9182"
}Response
Event triggered successfully
Example response
{
"success": true,
"sideEffectFailures": [
"apply-sync-rules"
]
}