Delivery Events
Sent, delivered, bounced
Opens
Track email opens
Clicks
Link click tracking
Complaints
Spam reports
Get Email Events
GET
Retrieve email events including delivery confirmations, opens, clicks, bounces, and complaints. Useful for tracking engagement and debugging delivery issues.
/v1/eventsQuery Parameters
Filter events for a specific email
Filter by type:
sent, delivered, opened, clicked, bounced, complainedNumber of days to look back (1-90)
Number of results (1-100)
Pagination offset
Request
Response
200 OK
Event Object Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique event identifier |
email_id | string | ID of the associated email |
type | string | Event type (see table below) |
metadata | object | Additional event data (varies by type) |
created_at | string | When the event occurred (ISO 8601) |
email | object | Associated email info (to, subject) |
Event Types
| Type | Description | Metadata |
|---|---|---|
sent | Email was sent to the mail server | message_id |
delivered | Email was successfully delivered | smtp_response |
opened | Recipient opened the email | user_agent, ip_address |
clicked | Recipient clicked a link | url, user_agent |
bounced | Email bounced (hard or soft) | bounce_type, reason |
complained | Recipient marked as spam | complaint_type |
unsubscribed | Recipient unsubscribed | — |
Example Queries
Get all opens
Get events for specific email
Get all link clicks
Get bounces for analysis
Events API vs Webhooks
Events API (Pull)
- Query historical events on demand
- Good for analytics and reporting
- Paginated results
- Up to 90 days of history
Webhooks (Push)
- Real-time event notifications
- Good for triggers and automation
- Requires endpoint setup
- Events delivered as they happen