TL;DR
- A sound webhook retry policy retries only failures that can heal (timeouts, connection errors, 429 and most 5xx), spaces the attempts with capped exponential backoff plus random jitter, and moves anything that runs out of attempts to a dead letter queue that keeps the original payload and can replay it.
- The big providers disagree wildly. As of November 2026, Stripe retries for up to three days, Shopify up to eight times in four hours, Slack three times within a few minutes, and GitHub not at all. That schedule is the real limit on how long your endpoint can be down before you lose events.
- So the receiver needs its own policy too: accept fast, store first, deduplicate on the event ID, process from your own queue, and keep a dead letter record with enough fields to replay it safely. A step by step version and a runbook are below.
A good webhook retry policy, built on exponential backoff and dead letter queues, comes down to three rules. Retry only the failures that might fix themselves, wait longer and a little randomly between each attempt, and when the attempts run out, park the event in a dead letter queue with everything needed to send it again later. Everything else in this guide is detail on those three rules, checked against each provider's own documentation in November 2026.
The detail matters, because the rules hide two different jobs. If you send webhooks, the retry schedule is a promise you make to your customers. If you receive them, somebody else's schedule decides how much of your outage you get to survive, and the dead letter queue you most need is one you build behind your own endpoint. Most guides on this topic are written by companies that sell sending infrastructure, so they quietly answer only the first job. This one covers both, compares the real published schedules side by side, gives a dead letter record schema you can copy, and ends with a runbook for the day the queue fills up.
It helps to hold one picture in mind from the start, and it is older than the internet. A courier with a parcel knocks, gets no answer, and comes back later. Each time nobody answers he waits a bit longer before the next try, because hammering on the door every thirty seconds will not make anyone come home sooner. After enough failed visits he stops knocking and takes the parcel to the dead letter office, where clerks hold it, try to work out where it should go, and send it on. Retries are the knocks. Backoff is the growing gap between them. The dead letter queue is the office. Most webhook failures in production happen because one of those three was missing or was built as a bin instead of an office.
First, which side of the webhook are you on
A webhook is just an HTTP POST that one system makes to another when something happens. The sender (Stripe, Shopify, GitHub, your own SaaS) owns the delivery attempt and therefore owns the retry schedule. The receiver owns the endpoint and whatever work the event triggers. A failure can live on either side of that line, and the right retry behavior differs for each.
When you are the sender, your retry policy answers questions like these: how many attempts, how far apart, which responses count as success, how long you wait for an answer, and what happens to an event after the last attempt. You are retrying a network call to a machine you do not control, so politeness matters. An aggressive schedule can flatten a customer's server just as it comes back up.
When you are the receiver, you mostly do not get to choose how often the sender knocks. What you do control is how quickly you say "got it," whether a duplicate delivery does damage, and what happens when your own downstream work fails after you have already returned a 200. That last case is the one that bites. Once you acknowledge an event, the sender considers its job finished and will never retry it again. If your database write fails a second later, the event is gone unless you kept it.
That is why the standard receiver pattern, which Stripe's own documentation recommends in plain terms, is to verify the signature, store the event, return a 2xx quickly and do the real work asynchronously from your own queue. Stripe tells integrators to return a successful status "before any complex logic that might cause a timeout" and to process events with an asynchronous queue so a spike of deliveries does not overwhelm the endpoint. Our earlier guide to building resilient webhooks with error handling and retries walks through that intake pattern in code. The point here is the consequence: the receiver ends up running its own retry policy and its own dead letter queue, one layer behind the endpoint.
The sender's retries protect the delivery. Only your retries protect the work.
Exponential backoff, and the jitter most teams leave out
Start with the literal mechanism. Exponential backoff means the wait before attempt n grows by a constant factor, usually doubling: one second, two, four, eight, sixteen, and so on, up to a ceiling so the gap never becomes absurd. The ceiling matters as much as the growth. Without one, the tenth retry of a one second base waits more than eight minutes and the twentieth waits about six days.
Backoff alone has a flaw, and the clearest account of it is still a 2015 post on the AWS Architecture Blog by Marc Brooker, now a VP and Distinguished Engineer at AWS. Brooker set out to measure what happens when many clients contend for the same resource and all back off on the same schedule. His simulation found that plain exponential backoff spread the calls out over time but left them in tight clusters: everyone who failed together retried together, again and again. Adding randomness fixed that. He compared three ways of doing it. "Full Jitter" picks a random wait between zero and the current backoff ceiling. "Equal Jitter" keeps half the backoff and randomizes the other half. "Decorrelated Jitter" grows each wait from the previous random value. His verdict was blunt: the no-jitter approach was "the clear loser," Equal Jitter was the loser among the jittered options, and the choice between Full and Decorrelated was "less clear." In a May 2023 update to the post, AWS noted that most of its SDKs now build exponential backoff and jitter into their standard retry modes.
We wanted to see the effect on a webhook-shaped problem, so we ran a small simulation of our own (a few dozen lines of Python, no real servers, so treat it as an illustration rather than a benchmark). The setup: 1,000 webhook deliveries fail at the same moment because an endpoint drops, each gets eight attempts, the base wait is one second and the cap is 300 seconds. With no jitter, the endpoint receives the retries as eight perfectly synchronized waves of exactly 1,000 requests each. With Full Jitter, the same 8,000 attempts land across 219 different seconds. Once the first ten seconds had passed, the busiest single second under Full Jitter carried 144 requests, against 186 for Decorrelated Jitter, 257 for Equal Jitter and the full 1,000 with no jitter at all. The total number of attempts barely changed. What changed is whether the recovering server meets them as a queue or as a wall.
That is the courier picture again, with a crowd of couriers. If they all left the depot at nine, failed at nine fifteen and were all told to come back "in an hour," the street would jam at ten fifteen. Telling each of them "sometime in the next hour" spreads the knocks out. The analogy undersells one thing, though: a server that is slowly recovering often fails because of the retry load. Jitter is not just politeness. It is part of what lets the endpoint come back at all, which is why the Standard Webhooks specification recommends adding "some level of random jitter" for exactly the case where failures "are due to recurring load caused by the webhook attempts themselves."
Three practical settings follow from all this:
- A base delay of a few seconds for the first retry, because many failures are blips that clear almost at once.
- A cap on any single wait, commonly somewhere between several minutes and a few hours for webhooks, depending on how long your total window is.
- A total window rather than just an attempt count. "Eight attempts" means nothing without knowing whether they span four hours or three days, and the window is what your customers actually experience.
Failed webhook retry rules: what to retry and what to stop
Retrying everything is the most common mistake in homemade retry logic. A request that failed because the payload is malformed will be malformed on the tenth attempt too. Every one of those attempts costs the receiver work, fills logs and, at volume, can look like an attack. The standard approach is to classify each failure before deciding.
| Outcome | Usual meaning | Sender should |
|---|---|---|
| 2xx | Accepted | Stop. Delivery succeeded. |
| Timeout, connection reset, DNS or TLS failure | Endpoint down, slow or unreachable | Retry with backoff and jitter |
| 429 Too Many Requests | Receiver is rate limiting you | Retry, slow down, honor Retry-After if present |
| 500, 502, 503, 504 | Receiver or its gateway is struggling | Retry with backoff; throttle on 502 and 504 |
| 3xx redirect | Wrong URL configured | Treat as failure; do not follow |
| 410 Gone | Receiver no longer wants these events | Disable the endpoint and stop |
| Other 4xx (400, 401, 403, 404, 422) | Bad request, auth or config problem | Few or no retries; alert the endpoint owner |
Most of that table comes straight from the Standard Webhooks specification, an open spec for webhook senders maintained on GitHub, which says a delivery is successful only on a 2xx and treats 410 as a signal that the sender "should disable the webhook endpoint, and stop sending it messages." Stripe's documentation agrees on redirects: "We consider redirect responses to webhook requests as failures." Svix, a webhook-sending service, says the same, treating any non-2xx code, "including 3xx redirects," as a failure.
Two refinements make the table honest. First, the 4xx line is a judgment call, not a law. Some senders keep retrying 4xx responses on the theory that a receiver might fix a broken deploy within the hour; Svix, for one, treats every non-2xx response as a failure and runs its full schedule on it. A short retry run on 4xx is a defensible middle path. Second, the receiver can help. Svix stops retrying when the receiver includes a webhook-delivery: abort-message header, and both Svix and the Standard Webhooks spec tell senders to take a Retry-After header into account. Svix caps the delay it will accept from that header at seven days. If you run the receiving side, returning 429 or 503 with a sensible Retry-After during an overload is the most effective way to ask for patience.
On the receiver's own queue, the same logic applies to your internal work. A queue library such as BullMQ (a Redis-backed job queue for Node.js) lets you throw an UnrecoverableError, which, per its documentation, moves the job straight to the failed set "without performing any retries," overriding the attempts setting. That is the code-level version of the bottom row of the table.
How the big providers retry webhooks in November 2026
Here is what each provider's own documentation says today. We read every page listed below this week; where a page does not state a number, the cell says so rather than guessing.
| Sender | Automatic retries | Response timeout | After the last attempt | Manual replay |
|---|---|---|---|---|
| Stripe (live mode) | Up to 3 days, exponential backoff | Not stated as a number; "quickly" return 2xx | Event shows as failed in Workbench | Dashboard Resend up to 15 days; CLI resend up to 30 days |
| Stripe (sandbox) | 3 times over a few hours | Same | Same | Same |
| Shopify | Up to 8 times in 4 hours | 5 seconds | If failures persist, the subscription is removed | Not described on the troubleshooting page |
| GitHub | None | 10 seconds | Delivery stays failed | Redeliver from the past 3 days, by UI or REST API |
| Slack Events API | 3 retries: almost immediately, after 1 minute, after 5 minutes | 3 seconds | Above 95% failures in 60 minutes, subscriptions are temporarily disabled | None described |
| Svix (service) | 8 attempts: immediately, 5 s, 5 min, 30 min, 2 h, 5 h, 10 h, 10 h | 30 seconds | Message marked Failed; endpoint disabled after 5 days of failures | Single resend, "Recover Failed" from a date, "Replay Missing" |
| Amazon EventBridge (to targets) | Default 24 hours and up to 185 attempts, backoff with jitter | Not applicable | Event dropped unless a dead letter queue is configured | Through the dead letter queue |
A few things in that table deserve a second look. Adding up Svix's published delays gives a window of roughly 27 and a half hours from first attempt to last; the example schedule in the Standard Webhooks spec goes further, with ten attempts ending 75 hours and 35 minutes after the first. Stripe's three days in live mode sits in the same multi-day range. Shopify's four hours and Slack's six minutes sit in a different universe. And GitHub states plainly that it "does not automatically redeliver failed deliveries." If you receive GitHub webhooks, retries are your job, done through the redelivery API, and you have three days to do it.
Stripe adds a subtlety that trips people up. Manually resending an event "doesn't cancel Stripe's automatic retry behavior, even if it results in a 2xx status code." So a well-meaning engineer who replays a batch from the dashboard during an incident can create a second wave of duplicates later, when the scheduled retries land. Your receiver has to be idempotent anyway, but this is the case where people forget it.
The turn: the provider's schedule is your outage budget
Most writing on this subject treats the retry schedule as a sender's design choice, something to tune for kindness and efficiency. Read from the receiving side, the same numbers mean something harsher. The sender's total retry window is the longest outage you can have before data starts disappearing.
Run the arithmetic on the table. If your Shopify endpoint is down for five hours on a Saturday night, events from the start of that outage have used their eight attempts by the time you are back, and if failures persist Shopify removes the subscription, which means nothing new arrives either until you recreate it. A Slack app that fails for ten minutes has already exhausted the retries for events from the start of that window. A GitHub integration has no window at all unless someone runs a redelivery job. Even Stripe's generous three days is a clock, and a long holiday weekend with a quietly broken deploy can run it out.
The provider's own tooling is also part of the outage budget, and it can fail at the worst moment. On December 3, 2025, between 22:21 and 23:44 UTC, GitHub's webhooks service delayed writing delivery records to its database. According to GitHub's incident report, many deliveries "were not visible in the webhook delivery UI or API for more than an hour after they were sent," and as a result "customers were temporarily unable to request redeliveries for those delayed records." The redelivery API, the only retry mechanism GitHub offers, was blind for over an hour. We covered a related pattern from this November in our report on how GitHub's own CI treated late webhooks as lost ones: late events and missing ones look the same to a consumer without a plan.
That reframes what a receiver's retry policy is for. It is not about being polite to the sender. It is about never depending on the sender's schedule in the first place. In courier terms, you cannot control how many times the courier knocks, so you put a mailbox by the door that never closes, and you build your own little dead letter office behind it. Concretely, that means three things:
- An intake path so simple it almost never fails: verify, write the raw event to durable storage, return 2xx.
- Your own retry loop, with backoff and jitter, between that storage and the real work.
- A reconciliation job that asks the provider's API what happened while you were not listening, for the times when even the mailbox was down. Our comparison of event-driven and polling designs explains why the best integrations use both: webhooks for speed, a periodic poll as the safety net.
If your recovery plan is "the sender will retry," your recovery plan is someone else's configuration.
Webhook idempotency: the event ID is the receipt
Retries guarantee duplicates. Every sender in the table above delivers "at least once," which means the same event can arrive twice: once on a retry after a timeout that actually succeeded on your side, once on a manual resend, once because two processes on the sender's side raced. The defense is idempotency, meaning that processing the same event a second time has no additional effect.
The usual key is the event's ID. The Standard Webhooks spec puts it in a webhook-id header and says to use it "as an idempotency key to prevent accidentally processing the same webhook more than once." Stripe tells integrators to log the event IDs they have processed and skip ones already logged, and warns specifically against using the created timestamp, because "distinct events can share a timestamp." Stripe adds one more case worth knowing: sometimes two separate Event objects are generated for the same change, and the way to catch those is the ID of the object in data.object combined with the event type.
Two traps catch teams who think they already have this covered. The first: do not deduplicate on the signature. Stripe generates "a new signature and timestamp for the new delivery attempt" every time it retries, so two deliveries of the same event carry different signature headers. The second: the idempotency check and the side effect need to happen together. Checking "have I seen this ID?", then doing the work, then writing the ID leaves a gap where a concurrent duplicate slips through. A unique constraint on the event ID in the same database transaction as the business write closes it. Our pattern piece on idempotent webhooks shows that table design, and when an event triggers several steps across services, the saga pattern with compensation is how you keep a half-finished duplicate from leaving things inconsistent.
Signature checks also interact with replay. Most verification libraries reject a payload whose signed timestamp is too old; Stripe's libraries default to a five minute tolerance. If your own dead letter queue replays a stored event into the same handler hours later, that check will fail unless the replay path bypasses verification (which it can, safely, because you verified the event when it first arrived and stored it yourself). Our breakdown of HMAC versus JWT for webhook authentication covers why that timestamp exists in the first place.
A dead letter queue schema that makes replay possible
The term comes straight from the post office. The United States set up a Dead Letter Office in 1825, according to Smithsonian Magazine and Atlas Obscura, to deal with mail that could not be delivered; today the Postal Service routes such mail to its Mail Recovery Center in Atlanta, whose staff are the only postal employees authorized to open it, so they can look for an address or decide what is worth saving. The point of the office was never storage. It was a second chance at delivery, run by people with more information and more time than the courier at the door.
A software dead letter queue earns its name the same way, and it only can if each record carries enough to make a decision later. A dead letter queue with just the raw body in it is a pile of envelopes with the addresses torn off. Here is a record shape that holds up in practice. The field names are ours; adapt them to your stack.
{
"dlq_id": "dlq_01J9Z6M3",
"source": "stripe",
"event_id": "evt_3Q8xYz",
"event_type": "invoice.paid",
"endpoint": "billing-sync",
"received_at": "2026-11-20T08:14:03Z",
"first_failure_at": "2026-11-20T08:14:05Z",
"last_failure_at": "2026-11-20T09:47:51Z",
"attempts": 6,
"retry_policy_version": "v2",
"failure_class": "permanent",
"last_error": "422 from ledger service: unknown customer",
"last_status": 422,
"headers": { "content-type": "application/json" },
"payload": "{ ...original raw body, byte for byte... }",
"payload_sha256": "9f2c...e1",
"replay_count": 0,
"status": "parked"
}
Each field earns its place. The event ID and type let you deduplicate on replay and group failures. Attempts and timestamps tell you whether this was a quick permanent failure or a long transient one that finally gave up, which usually points to different causes. Failure class (transient, permanent or unknown) and the last error let an operator triage without opening every record. The raw payload, byte for byte, matters because any reformatting breaks signature checks and can change what your handler sees. The retry policy version answers a question you will ask during every postmortem: which rules were in force when this event died. And status plus replay count stop the same record from being replayed in a loop.
Leave secrets and full authorization headers out of the record. The dead letter store tends to be read by more people than the main pipeline, and it lives longer.
Retention is where managed queues surprise people. On Amazon SQS, a dead letter queue is attached with a redrive policy whose maxReceiveCount sets how many times a message can be received before it moves (the API reference gives a default of 10), and the dead letter queue must live in the same AWS account and Region as the source. The surprise is the clock. For standard queues, AWS documents that a message's expiration "is always based on its original enqueue timestamp," which does not reset when the message moves. A message that spent a day in the source queue and lands in a dead letter queue with four days of retention is deleted after three. AWS calls it a best practice to set the dead letter queue's retention longer than the source's; the SQS maximum is 14 days. FIFO queues behave differently and reset the timestamp on the move.
Google Cloud Pub/Sub has its own quirks. A dead letter topic is configured with a maximum number of delivery attempts between 5 and 100, but Google's documentation warns the count "is approximate" because forwarding happens on a best-effort basis; a message can move after fewer attempts or after a few more. When Pub/Sub forwards a message, it wraps the original in a new message and adds attributes that identify the source subscription, which is a built-in version of the metadata fields above. Its separate retry policy applies exponential backoff with configurable minimum and maximum delays between 0 and 600 seconds.
One warning from the AWS documentation applies everywhere: do not put a dead letter queue behind an ordered queue if the order of operations matters, because pulling one message out and replaying it later breaks the sequence. AWS's own example is a list of edits for a video editing suite, where applying edit five before edit four changes the result.
A webhook retry policy with exponential backoff and dead letter queues, step by step
Here is the whole thing as a build order. Steps 1 to 4 apply to everyone; steps 5 to 8 are the receiver's private retry layer, which is also exactly what a sender needs internally.
- Write the policy down as data, with a version. Base delay, multiplier, cap, maximum attempts, total window, which outcomes are retryable, and a version string such as "v2." Changing retries without a version means you cannot tell later which events were handled under which rules.
- Make intake boring. Verify the signature against the raw body, write the raw event and its headers to durable storage keyed by event ID, return 2xx. Nothing else happens in the request. Stay well under the strictest timeout you face: three seconds for Slack, five for Shopify.
- Deduplicate on the event ID with a unique constraint, inside the same transaction as the side effect.
- Classify every failure as transient, permanent or unknown, using the table above as a starting point. Unknown should retry like transient but alert sooner.
- Retry transient failures with capped exponential backoff and full jitter. A minimal version looks like the snippet after this list.
- Stop early on permanent failures. One or two attempts at most, then dead letter, so a bad payload does not burn a day of retries.
- Dead letter with the full record from the schema above, and set the dead letter retention longer than any upstream retention.
- Alarm on the dead letter queue and test replay before you need it. A dead letter queue nobody watches is just a slower way of dropping events.
import random
POLICY = {"version": "v2", "base": 2.0, "cap": 3600.0, "max_attempts": 10}
RETRYABLE = {408, 429, 500, 502, 503, 504}
def next_delay(attempt, retry_after=None):
"""Seconds to wait before retry number `attempt` (1-based), full jitter."""
if retry_after is not None:
return min(float(retry_after), POLICY["cap"])
ceiling = min(POLICY["cap"], POLICY["base"] * 2 ** (attempt - 1))
return random.uniform(0, ceiling)
def decide(status, attempt):
if status is not None and 200 <= status < 300:
return "done"
if status is None or status in RETRYABLE: # None = timeout or connection error
return "retry" if attempt < POLICY["max_attempts"] else "dead_letter"
return "dead_letter" # 3xx, 410 and other 4xx: stop early
If you use BullMQ instead of hand-rolled code, its documentation describes the built-in exponential option as waiting 2 ^ (attempts - 1) * delay milliseconds, and it adds an optional jitter setting. BullMQ does not have a separate dead letter queue: failed jobs go to a "failed set," which can be kept or removed automatically, so the dead letter record above is something you write yourself in a failure handler. On SQS, remember that per-message delay tops out at 15 minutes (900 seconds), so longer backoff steps need a scheduler or a visibility timeout change, and visibility itself has a hard ceiling of 12 hours from first receipt.
Pocket glossary
- Retry window: the total time from first attempt to last. The number that decides how long an outage you can survive.
- Backoff cap: the longest single wait between two attempts.
- Full jitter: waiting a random time between zero and the current backoff ceiling.
- Poison message: an event that fails every time because of what is in it, not because of the network.
- Dead letter queue (DLQ): where events go after their retries are exhausted, kept for inspection and replay.
- Redrive: moving messages out of a dead letter queue back into the main flow, as AWS calls it.
- Idempotency key: a value, usually the event ID, that lets a handler recognize a repeat and skip it.
- At least once: the delivery promise every major webhook sender makes. Duplicates are part of the contract.
The runbook: DLQ artifacts, retry visibility and redrive
The searches that bring people to this page include fragments of other teams' internal runbooks, paths like "runbooks/webhook-retries/dlq/artifacts" and phrases like "dlq / retry visibility." That tells you what readers actually want at two in the morning: not theory, but a list. Here is one, written as the steps a team runs when a dead letter alarm fires.
- Freeze automatic replay. If anything replays dead letters on a timer, pause it until you know the cause. Replaying into a still-broken handler just moves records in a circle and inflates attempt counts.
- Collect the artifacts. Export the affected dead letter records (IDs, types, failure classes, last errors, policy version) to a file attached to the incident. That file is your evidence for the postmortem and your checklist for the replay.
- Group by cause. Sort by last error and failure class. One cause covering most records usually means a deploy or a dependency; a long tail of different errors usually means bad payloads from one sender or one customer.
- Fix forward, then test on one record. Replay a single record into the fixed handler and confirm the side effect happened once.
- Redrive slowly. Replay in batches with a rate limit. AWS's SQS redrive lets you set a "redrive velocity" for this reason, and Svix's "Recover Failed" option replays everything failed since a chosen date. Watch the main queue's error rate while it runs.
- Reconcile against the source. For anything older than your retention, or anything that never reached your intake, ask the provider: GitHub's redelivery API for the past three days, Stripe's resend (15 days in the dashboard, 30 days with the CLI), or a list call against the provider's API for objects changed during the outage.
- Close with the numbers. Record how many events were parked, replayed, discarded on purpose and lost, and bump the policy version if the incident changed your rules.
Retry visibility means being able to answer, at any moment, how healthy delivery is without opening a single record. Four signals cover most of it: first-attempt success rate (the share of events that succeed without any retry), retries in flight, dead letter queue depth, and the age of the oldest dead letter. SQS exposes that last one as the ApproximateAgeOfOldestMessage metric, with the caveat AWS documents for standard queues: it reflects when the message moved to the dead letter queue, not when it was first sent. Depth tells you how bad it is; age tells you how close you are to losing records to retention.
Some of the runbook fragments in search data also mention "retries v2." Treat a retry policy change like a code change, with a version, a canary and a rollback. Lengthening a window or adding attempts changes the load you put on customers' servers during their worst hour, and our analysis of a week of outages that broke at the handoffs is a reminder of how retry storms turn one system's bad day into several. Roll the new policy out to a slice of endpoints first and compare first-attempt success and dead letter rates before going wide.
The quietest failure is an alarm that never fires. A dead letter queue that grows without paging anyone looks, from the dashboard, exactly like a healthy system; our report on an alarm whose silence looked like safety is the same lesson from a very different setting. Test the alarm by parking a fake record on purpose.
AI agents, MCP servers and other new webhook endpoints
A growing share of webhook receivers are not classic apps but autonomous AI agents: an endpoint that receives an event and starts a model run, which may call tools, spend money and take actions. Everything above applies, with higher stakes on duplicates. A retried webhook that triggers an agent twice can produce two different outputs, because model runs are not deterministic, and can repeat side effects such as sending a message or placing an order. For an agent endpoint, the idempotency check belongs before the model call, not after, and the dead letter record should store the inputs the agent saw, so a replay is reviewed rather than blindly rerun.
The Model Context Protocol, the open standard many agents use to reach tools, is still settling how servers push events at all. The MCP roadmap, last updated on August 22, 2026, lists "server-initiated events" as a priority, describing "channels and subscriptions for push delivery, including webhooks." The project's Tasks and Events Working Group charter says the group will specify a standardized callback mechanism, naming webhooks as one option, with defined ordering guarantees across transports, and it lists delivery semantics among the specification work in scope. Until that lands, an MCP setup that wants push events relies on a webhook layer outside the protocol, which is the architecture our guide to MCP and webhooks for event-driven agents describes. When the spec does define delivery, check its retry and ordering promises against the table above before you trust it.
Some platforms do not offer webhooks at all, and people search for them anyway. Polymarket is one: its developer documentation, as of this month, offers REST APIs and WebSocket streams for order books, prices and a user's own orders and fills, and lists no outbound webhooks. With a socket there is no sender retry schedule. If your connection drops, the events during the gap are simply not sent to you, so your reconnect loop needs the same capped, jittered backoff, followed by a REST call to catch up on what you missed. Our walkthrough of an event-driven Polymarket trading bot shows that bridge from stream to internal events.
Who should not build all of this
Not every team needs a custom retry engine and a dead letter office. Be honest about where you sit.
- Low-volume receivers with a handful of events a day and a provider that keeps multi-day retries (Stripe is the obvious example) can often rely on the provider's schedule, a dashboard check and good idempotency. Building your own queue adds a new thing that can break.
- Teams sending webhooks to many customers should weigh a managed sending service against building delivery infrastructure themselves. Per-endpoint backoff, disabling failing endpoints, customer-facing replay and delivery logs are a product in their own right, which is why companies like Svix exist.
- Strictly ordered workflows, where event four must never apply before event three, should not bolt a dead letter queue on naively. AWS warns against exactly this, and the safer design is often to block the whole stream for that key until the failed event is resolved.
- Integrations that can be rebuilt from the source may be better served by a periodic full reconciliation than by elaborate replay. If you can re-read the truth from the provider's API cheaply, a dead letter queue becomes a speed optimization rather than a safety requirement.
Environment changes matter too. Allowlists, firewall rules and new IP requirements can turn a healthy endpoint into a wall of connection failures overnight, as our coverage of Shopify's new IP allowlist requirement showed on the API side. When the cause is configuration, no retry schedule saves you. Only the alarm does.
What we know and what we do not
What is firm: the retry windows, timeouts and replay limits in the comparison table, each taken from the provider's own documentation in November 2026, and the queue behaviors (SQS retention and redrive, Pub/Sub's approximate attempt counts, BullMQ's failed set) from the vendors' own manuals. These pages change without much ceremony, so read the current version before you size an outage budget on any of them.
What is softer: there is no industry standard retry schedule. The Standard Webhooks example is a recommendation, not a rule, and our own jitter simulation was a toy model without real network behavior. Several providers do not publish a response timeout as a number (Stripe asks only for a quick 2xx), so the timeout column has gaps we chose not to fill with guesses. And the claim you will see in many articles, that some fixed share of webhook failures are transient, has no public, reproducible dataset behind it that we could find. Your own first-attempt success rate is the only number that tells you anything about your traffic.
The dead letter office was never a graveyard
It is tempting to think of retries as the clever part and the dead letter queue as the place things go to die. The postal clerks who gave the idea its name saw it the other way round. The courier's job was simple and fast; the office was where the hard cases got a slower, smarter second chance. A webhook system works the same way. Backoff and jitter keep the knocking civil. The dead letter office is where reliability is actually decided, because it is the only part of the system that assumes something went wrong and plans for it.
So the useful question for any integration is not "how many times do we retry?" It is "when the retries are over, who holds the parcel, what does the label say, and who is responsible for sending it on?" If the honest answer is "the provider" or "nobody," you do not have a retry policy yet. You have a schedule, and it belongs to someone else.
FAQ
What is a good webhook retry backoff schedule?
Start a few seconds after the failure, roughly double the wait each time, cap any single wait at minutes to a few hours, and add random jitter. Spread the attempts over a total window of about one to three days if you send webhooks. Svix's published schedule, eight attempts over about 27 hours, and Stripe's three days in live mode are good reference points.
How should I handle a failed webhook retry?
Classify the failure first. Timeouts, connection errors, 429 and 5xx responses deserve more attempts with backoff. Redirects, 410 and most other 4xx errors will not fix themselves, so stop early. When attempts run out, move the event to a dead letter queue with its raw payload, event ID, attempt history and last error, alert someone, and replay it after the cause is fixed.
How does webhook idempotency with an event ID work?
Every delivery carries a unique event ID, such as Stripe's event ID or the webhook-id header in the Standard Webhooks spec. Store each processed ID with a unique constraint, in the same transaction as the work the event triggers. When a retry or resend arrives with an ID you already have, return 2xx and skip the work. Never deduplicate on signatures or timestamps.
Do MCP servers support webhooks?
Not as a finished, standard feature yet. The Model Context Protocol roadmap, updated August 2026, lists server-initiated events, including webhooks, as a priority, and a Tasks and Events Working Group is drafting the callback mechanism and its delivery rules. Today, agent setups that need push events usually put a separate webhook receiver in front of the agent.
Does Polymarket offer webhooks?
Its developer documentation, checked in November 2026, offers REST APIs and WebSocket streams for markets, order books and a user's own orders, and lists no outbound webhooks. That means no sender retries: if your socket disconnects, you reconnect with capped, jittered backoff and then use the REST API to fetch whatever changed during the gap.
