get_contact_activity
Retrieve a contact's recent email activity timeline to analyze engagement patterns before sending campaigns. View event types including sent, delivered, opened, clicked, bounced, complained, and failed.
Instructions
Get a contact's recent email-event timeline grouped by event type (sent / delivered / opened / clicked / bounced / complained / failed). When to use: investigate a specific contact's engagement history before sending — e.g. did they bounce on the last campaign, are they frequently opening, when did they last click. Pass email OR id; email triggers a lookup, id is direct. Returns: { contact_id, email, total, events: { sent, delivered, opened, clicked, bounced, complained, failed, other } } where each is an array of { event_id, event_type, created_at, email_id, subject, from, geo_country, ua_client, is_prefetch, metadata }. Example: { email: "ada@lovelace.io", limit: 20 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Contact email (alternative to id) | ||
| id | No | Numeric contact id (alternative to email) | |
| limit | No | Max events to return (default 50) | |
| since | No | ISO 8601 cutoff — only events after this timestamp |