Skip to main content

How to evaluate webhook infrastructure

Evaluate webhook infrastructure on five answers: the delivery guarantee, the exact retry schedule and total retry window, how a single failing endpoint is contained, how signatures are generated and rotated, and what the delivery log lets you search and replay. A design or vendor that cannot state all five in numbers has not been tested at scale, and a failure test during the trial shows whether the numbers hold.

Sending webhooks?
Svix is the enterprise-ready webhook sending service. It handles signing, retries, and delivery observability, so you can ship a reliable webhook platform in minutes instead of months. Start sending webhooks with Svix.

Those five apply equally to a managed service and to a system your own team is proposing to build. The rest of this guide is what each answer should sound like, how to check the answers yourself before signing, and the security, procurement, and pricing questions that decide whether a vendor clears review. For what webhook infrastructure consists of in the first place, start with what is webhook infrastructure.

Delivery guarantee, and what it costs the receiver​

Almost every real system is at-least-once: a delivery that times out is retried, and the receiver may have already processed it. That is the correct tradeoff, but it moves work to your customers, who now need idempotent handlers. So the follow-up question matters more than the guarantee itself: does every delivery carry a stable message ID that stays the same across retries, so a receiver can deduplicate on it? Without that ID, “at-least-once” means your customers cannot tell a retry from a new event.

Ask about ordering separately. Most webhook systems do not promise it, and pretending otherwise is worse than saying so, because a receiver that assumes order will corrupt state the first time two events land out of sequence.

The retry schedule is a number, not a promise​

“We retry failed deliveries” is not an answer. The answer is a list: how many attempts, at what intervals, over what total window, and where the delivery goes when the window closes. A typical published schedule is around eight attempts spread over roughly 24 hours with exponential backoff and jitter, ending in a dead-letter queue rather than a silent drop. Compare that against the recovery time of a customer who deploys a bad build on a Friday.

Then ask what you can do with a failed delivery afterwards: replay one event, replay everything that failed for one endpoint in a time range, or nothing. Replay is the difference between an incident that ends in a support ticket and one that ends in a data-repair script. Our page on webhook reliability covers the numbers to expect on each of these.

How one broken endpoint is contained​

Delivery throughput is a function of receiver latency, not your hardware, so the containment controls decide whether one customer’s outage becomes yours. Look for a short delivery timeout measured in seconds, a concurrency cap per endpoint so no single destination can occupy the worker pool, an automatic disable or circuit breaker after a sustained failure streak, and a per-endpoint rate limit that keeps a recovered receiver from getting an hour of backlog at once.

Capacity itself follows from fan-out: one event multiplied by the endpoints subscribed to it. Multiply your event rate by average subscribers per event type before comparing any throughput claim, and see webhook scalability for how that arithmetic breaks pools sized on event rate alone.

Signatures and secret rotation​

Ask which signing scheme is used and whether it is documented publicly. A webhook signature that follows the Standard Webhooks specification can be verified with an off-the-shelf library in any language, which is a real cost saving for your customers. A proprietary scheme means every customer writes and debugs their own verification code, and your support team answers for it.

The rotation question is the one teams forget. Secret rotation requires two secrets to be valid at once for an overlap window, otherwise every rotation is a scheduled outage for whoever has not updated their config yet.

What the delivery log has to answer​

The delivery log is where your support cost lives. It should let you find every attempt for one endpoint, show the response code and body the receiver returned, keep that history long enough to answer a question about last week, and expose the same view to your customers so they can debug without opening a ticket. Retention length and whether full payloads are stored are the two variables that drive both the bill and the usefulness.

Prove the answers with a failure test​

Every vendor demo shows a healthy endpoint receiving events. The answers above only matter when endpoints fail, so make them fail during the trial. Run a small receiver you control with one route per behavior:

const express = require('express');

const app = express();
const attempts = [];
const failing = new Set(['fail', 'recover']);

app.post('/heal/:mode', (req, res) => {
failing.delete(req.params.mode);
res.sendStatus(204);
});

app.post('/:mode', express.raw({ type: '*/*' }), async (req, res) => {
const { mode } = req.params;
attempts.push({ mode, id: req.get('webhook-id'), at: new Date().toISOString() });
if (mode === 'slow') await new Promise((resolve) => setTimeout(resolve, 30_000));
res.sendStatus(failing.has(mode) ? 500 : 200);
});
app.get('/attempts', (req, res) => res.json(attempts));

app.listen(3000);

Expose it on a public URL, then work through the test. It takes a day of wall-clock time and about an hour of yours:

  1. Register /ok, /fail, /recover, and /slow as four endpoints subscribed to the same event type, and send 1,000 events in a burst.
  2. Check /ok first. All 1,000 should land within seconds, at the same pace as a run with /ok registered alone. If it slows down while /slow is registered, one endpoint’s latency is leaking into the others.
  3. Time the attempts on /slow. How long each one lasts is the timeout actually enforced, and the attempt count before the endpoint is paused tells you whether automatic disabling exists.
  4. After an hour, POST to /heal/recover so that endpoint starts returning 200. Its backlog should drain at the per-endpoint rate limit rather than as 1,000 requests in one second.
  5. Leave /fail failing for the full retry window, then pull its attempts for one message ID. The gaps between them are the real retry schedule, and the message ID should be identical on every attempt. Once the window closes, the messages should show as exhausted and be replayable in bulk for the test’s time range.
  6. Rotate the endpoint secret mid-test and confirm webhook-signature carries two values during the overlap, with no verification failures on your side.
  7. Give a support engineer one message ID and time how long it takes them to find every attempt in the vendor’s log, then repeat it from the customer-facing view.

Run the same test against an in-house design in staging before comparing it with a vendor.

Questions security and procurement will ask​

The questions above decide whether webhooks work. A second set decides whether the purchase clears review, so ask them in the first week. Security will want a SOC 2 Type II report, the regions where payloads are stored and processed, how long payloads are retained and whether they can be deleted on request, and whether the vendor filters customer-supplied URLs against SSRF. Your customers’ security teams will ask whether deliveries come from a fixed set of egress IP addresses they can allowlist; a vendor without static IPs pushes that question onto your support queue. Procurement will ask about the uptime SLA, and the useful follow-up is whether it covers delivery latency or only API availability, since an API that accepts events while delivery workers are backed up is technically up. Finally, ask what leaving looks like: whether events and endpoint configuration can be exported, and whether an open-source or self-hosted version exists that your team could run if the relationship ends.

Price the retries, not only the events​

Vendors bill on different units: per event sent, per delivery (each event times each subscribed endpoint), or per attempt including retries. Take 2 million events a month, an average of three endpoints per event, and 2 percent of deliveries failing through all eight attempts. That month is 2 million events, 6 million deliveries, and 6.84 million attempts, because each of the 120,000 failing deliveries adds seven retries. Attempts also spike exactly when a customer’s endpoint is down. Ask which unit applies, whether payload size or log retention changes the price, and what happens above the plan’s limit: throttling, overage charges, or dropped events.

Build versus buy, priced over the second year​

A first version of webhook infrastructure is a queue and a worker pool, and a competent team ships it in a few weeks. The cost is the second year: per-endpoint backoff, dead-letter handling, replay tooling, signature rotation, a customer-facing portal, and someone on call for all of it. Price the build against that list rather than against the prototype, and read building a webhook sender for what the full scope looks like.

Svix is that layer as a service: one API call fans out to every subscribed endpoint with the retry schedule, signatures, dead-letter handling, and searchable delivery log already in place. If webhooks are a feature of your product rather than the product, the evaluation usually comes down to how much of the second-year list you want to own.

Frequently asked questions

What should I ask a webhook provider before signing?

Ask for the published retry schedule and total retry window, the delivery timeout, the signing scheme and whether two secrets can be active during rotation, the delivery log retention period, and whether customers can replay failed deliveries themselves. Vague answers on any of the five usually mean the feature does not exist.

Does at-least-once delivery mean I will get duplicates?

Yes, eventually. A receiver that processes an event but responds too slowly will be retried, so the same event arrives twice. Deduplicate on the message ID that ships with each delivery and make handlers idempotent, which is the standard fix and costs far less than trying to eliminate duplicates at the sender.

Is a webhook gateway enough, or do I need full infrastructure?

A webhook gateway centralizes verification, routing, and retries in front of receivers you control, which is enough when you only consume webhooks. Sending webhooks to customers adds fan-out, per-endpoint isolation, secret rotation, and a customer-facing delivery log, and those are what the full platform exists for.