What is an Event
An event is any operation, alert, or notification that your system needs to deliver reliably — regardless of connectivity conditions. Events are the core primitive of the Wede platform. You send an event, Wede guarantees delivery through the best available channel.Event Structure
| Field | Required | Description |
|---|---|---|
type | Yes | Event type — freeform string, uppercase recommended |
priority | Yes | critical, high, normal, or low |
vertical | Yes | Industry vertical — see Verticals |
idempotency_key | Yes | Unique key to prevent duplicate processing |
payload | No | Arbitrary JSON payload — your data, opaque to Wede |
zone_code | No | Target zone — routes to specific operational area |
Priority Levels
| Priority | Description | Channel Behaviour |
|---|---|---|
critical | Immediate delivery required | All channels attempted in parallel |
high | Fast delivery, minor delay acceptable | Primary + fallback channels |
normal | Standard delivery | Primary channel with fallback |
low | Best-effort delivery | Primary channel only |
Event Response
Event Status
| Status | Meaning |
|---|---|
pending | Accepted, awaiting delivery |
delivered | Successfully delivered |
failed | Delivery failed after all retries |
queued_offline | Queued for delivery when connectivity restores |
Event Examples by Vertical
Healthcare:Listing Events
Idempotency
Always provide a uniqueidempotency_key per logical event. If the same key is submitted twice, Wede processes it once and returns the original response.
Good idempotency keys include:
- Timestamp + entity + sequence:
dispatch-2026-05-19-amb07-001 - Your internal event ID:
internal-evt-id-84729 - UUID:
550e8400-e29b-41d4-a716-446655440000

