Use it when designing, operating or troubleshooting the webhook boundary around Event Payload. Keep producer event, delivery identity, source verification, acknowledgement, durable processing and downstream state separate.
Event Payload
The structured webhook representation carrying event identity, type, occurrence time, resource references, version and event-specific data.
1. Payload contains event type, ID, timestamp, data.
2. Route on event type.
3. Use event ID for dedup.
4. Validate schema.
5. Don't trust payload content blindly — fetch authoritative data if needed.
payload → type/ID → handler
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
received bytes → signature/auth context → schema/version → event ID/type/time → snapshot/reference → current-state lookup → processing
Healthy evidence: event IDs, type and schema version are explicit, unknown versions fail safely and current-state lookups are used where freshness matters.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: snapshot treated as current truth, no event ID, silent schema fallback, payload trusted before signature validation or timestamps ignored.
Step 3 Common mistakes Narrow the fault
- Assuming payload order equals event order.
- Acting on stale data in the payload.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Payload parsed ≠ event trusted; signature/authentication must bind the received bytes or canonical representation.
- Event timestamp ≠ delivery time; retries can arrive much later than occurrence.
- Snapshot data ≠ current resource state; the resource may have changed again before processing.
- Missing field ≠ false/default automatically; payload versions and optional fields need explicit handling.
jq . sample-payload.json— inspect payload- Event type and ID fields — routing/dedup
- Schema validation — structure
ReferenceWhat it is1 section · depth on demand
What it is
The event payload is the JSON body describing what happened: event type, object, timestamp and often the changed data. Treat it as untrusted input and re-fetch the object from the API if you need current state.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A well-formed payload shows only the transmitted event representation, but it does not show source authenticity or current resource state.
In depth
The event payload is the data a webhook delivers, usually JSON in the HTTP body, together with headers that identify the event type, delivery ID and signature. Receivers parse it to decide what happened and what to do.
Typical structure:
{
"event": "updated",
"timestamp": "2026-11-05T10:15:00Z",
"model": "device",
"username": "admin",
"data": { "id": 42, "name": "sw-oslo-07", "status": "active" },
"snapshots": { "prechange": {}, "postchange": {} }
}
Documented example, not captured output.
Practical points: validate the payload against what you expect and ignore unknown fields; verify the signature header before trusting the content; and do not assume the payload is complete — fetch the full object from the API when you need authoritative data.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Webhooks > Event Payload. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Event Payload webhook boundary map
Fast request/delivery, trust, processing and verification boundaries for Event Payload.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Source / delivery | Event, subscription, delivery ID and attempt metadata are attributable | Missing source event, stale subscription, wrong callback or delivery history gap |
| Trust / acknowledgement | Auth/signature and schema checks occur before safe acknowledgement | Unverified payload, slow handler, 2xx before durable receipt or replay weakness |
| Processing / proof | Durable dedupe/worker evidence matches downstream target state | Duplicate side effect, worker failure hidden by 2xx or no target reconciliation |
| Troubleshooting | First failed boundary is preserved, changed minimally and retested | Blind retries, credential rotation, replay or payload edits before evidence is captured |