/v1/track endpoint or generated automatically by Plunk. These endpoints let you query event history and discover which event names exist in your project.
All event endpoints require a secret key (
sk_*).System (reserved) events
Plunk automatically tracks the following events. They appear in event listings but cannot be tracked manually via/v1/track and cannot be deleted.
| Event | Description |
|---|---|
email.sent | An email was sent to a contact |
email.delivery | An email was successfully delivered |
email.open | A contact opened an email |
email.click | A contact clicked a link in an email |
email.bounce | An email bounced (hard or soft) |
email.complaint | A contact marked an email as spam |
email.received | An email was received at a verified domain |
contact.subscribed | A contact’s subscription status changed to true |
contact.unsubscribed | A contact’s subscription status changed to false |
segment.<slug>.entry | A contact entered a segment with membership tracking enabled |
segment.<slug>.exit | A contact left a segment with membership tracking enabled |
List events
GET /events
Returns a list of recent event records for the project. Optionally filter by event name.
Query parameters
Filter results to events with this exact name.
Maximum number of events to return.
Response
Array of event records, ordered newest first.
Example
200
List event names
GET /events/names
Returns a deduplicated list of all event names that have been tracked for the project, ordered by frequency.
This is useful for populating workflow trigger dropdowns or segment filter fields.
Response
Array of unique event name strings, sorted by occurrence count descending.
Example
200
Get event stats
GET /events/stats
Returns aggregate event counts for the project, optionally filtered by date range.
Query parameters
ISO 8601 start date for the stats window.
ISO 8601 end date for the stats window.
Example
Get contact events
GET /events/contact/:contactId
Returns recent events for a specific contact.
Path parameters
The contact ID.
Query parameters
Maximum number of events to return.
Example
Delete events by name
DELETE /events/:eventName
Deletes all event records with a specific name. Only works if the event is not used in any segments or workflows.
Path parameters
The event name to delete (e.g.
old_event). URL-encode special characters.Example