Event Structure
Every event has a consistent structure:| Field | Type | Description |
|---|---|---|
id | string | Unique event identifier |
type | string | Event type (e.g., user.signup) |
created | string | ISO 8601 timestamp |
data | object | Event payload |
Sending Events
Use the SDK to send events:Idempotency
To prevent duplicate events, pass an idempotency key:Event Types
We recommend using dot notation to organize your event types:| Pattern | Example | Use Case |
|---|---|---|
resource.action | user.signup | Standard events |
resource.action.status | payment.charge.failed | Events with outcomes |