v1
latestOpenAPI 3.1.02026-07-1315527.8 KBTrack event
Track an event for a contact. Automatically creates or upserts the contact, then records the event. Tracked events can be used as workflow triggers, segment filters, and audience filters.
Reserved event names (rejected with VALIDATION_ERROR and code reserved_event): anything matching email.*, contact.subscribed, contact.unsubscribed, segment.<slug>.entry, segment.<slug>.exit. These are emitted by Plunk itself.
Idempotency: re-tracking the same event creates a new event record. Send an Idempotency-Key header to have a repeated request refused with 409 instead.
Headers
Optional key that guarantees this request runs at most once. If the key was already used by your project, the request is refused with 409 instead of being performed a second time. Keys are scoped to your project, expire after 24 hours (configurable when self-hosting), and must be 1-255 printable ASCII characters.
Request body
Response
Event tracked successfully