Integrations

How do you make webhook retries safe to repeat?

Make webhook retries safe to repeat: a stable idempotency key, 2xx as accept, and bounded backoff that honors Retry-After.

1 min readDEV Group

Webhook delivery keeps failing the same way: retries without a stable idempotency key, ambiguous success codes, and unbounded backoff. Treat every attempt for the same logical event as one delivery. Send the same Idempotency-Key on each retry, treat 2xx as accept, and honor Retry-After as a lower bound. Use bounded jittered backoff, with a dedupe window measured in hours, not days. The failure modes belong in the design, not in a ticket after records go missing.

Was this useful?

Get in touch

Seeing one of these in your system?

Describe what exists today and where it breaks. We will come back with a technical point of view and a scoped first step.