Pcornel
Automation · Webhooks

Consumer

Cheat sheet · https://pcornel.dk/topic.php?topic=5321

Back to the Topic

Answer

The receiver endpoint that authenticates a webhook, acknowledges delivery and performs or queues downstream processing.

Remember

  • HTTP endpoint reachable ≠ consumer ready; signature validation, schema handling, queue capacity or dependencies can still fail.
  • 2xx acknowledgement ≠ processing complete; many handlers acknowledge before worker execution.
  • Handler executed ≠ side effect unique; duplicate delivery can trigger the same logic again.
  • Consumer log entry ≠ producer event authentic; source verification and replay protection remain required.

First checks

  • Consumer endpoint logs — received events
  • Signature check implementation — security
  • Processing queue depth — backlog

Verify in this order

POST → verify → validate → enqueue → handle

Where it usually breaks

A 2xx from the consumer proves its HTTP response path completed; it does not prove durable queueing or downstream action succeeded.

Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.

Consumer webhook boundary map

BoundaryHealthy evidenceSuspicious evidence
Source / deliveryEvent, subscription, delivery ID and attempt metadata are attributableMissing source event, stale subscription, wrong callback or delivery history gap
Trust / acknowledgementAuth/signature and schema checks occur before safe acknowledgementUnverified payload, slow handler, 2xx before durable receipt or replay weakness
Processing / proofDurable dedupe/worker evidence matches downstream target stateDuplicate side effect, worker failure hidden by 2xx or no target reconciliation
TroubleshootingFirst failed boundary is preserved, changed minimally and retestedBlind retries, credential rotation, replay or payload edits before evidence is captured

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5321

Confirmation

Confirm action

Continue?