Skip to main content
Events are the core primitive in Flux. An event represents something that happened in your application—a user signed up, an order was placed, a payment succeeded.

Event Structure

Every event has a consistent structure:

Sending Events

Use the SDK to send events:

Idempotency

To prevent duplicate events, pass an idempotency key:
If you send the same idempotency key twice within 24 hours, the second request returns the original event without creating a duplicate.

Event Types

We recommend using dot notation to organize your event types:

Common Event Types

Listing Events

Retrieve events from the API:

Event Retention

Events are stored for 90 days on all plans. Enterprise customers can configure longer retention periods.

Next Steps

Webhooks

Receive events in real-time

Events API

Full Events API reference