Skip to content

Message

Defined in: src/schema.ts:140

A published event for one application. The message is the receiver-facing unit: its id is the webhook-id header (stable across retries — receivers dedupe on it), and its payload is the data of the wire envelope.

Property Type Description Defined in
createdAt string ISO-8601 creation timestamp, server-stamped. src/schema.ts:157
envelope string The wire envelope serialized once at publish time so the signed bytes are identical across every retry of every delivery. src/schema.ts:155
eventType string Event type name (usually from the global catalog). src/schema.ts:144
id string "msg_" + 22-char base62, server-generated. Sent as webhook-id. src/schema.ts:142
idempotencyKey? string Optional caller-supplied dedupe key; same key within retention returns the same message. src/schema.ts:150
payload JsonValue The data of the wire envelope. src/schema.ts:146
timestamp string ISO-8601 event-occurred time (defaults to publish time). Sent in the envelope. src/schema.ts:148