ToolGrid — Product & Engineering
Leads product strategy, technical architecture, and implementation of the core platform that powers ToolGrid calculators.
Loading...
Preparing your workspace
Loading tool...
Please wait.
Paste a webhook or event JSON payload to detect its stable key and check for duplicates.
Bulk Idempotency Check Pack unlocks 1–5 case files (1 MB each, 4 MB combined) as a ZIP of idempotency reports. Free plan stays single paste-and-check (no file batch).
Free file batch limit: 0 files (paste-only check stays free).
Each file must be JSON with payload (or rawPayload) and optional headers / customKeyExpression / provider / intendedAction, or an inputs object wrapping those fields. Duplicate keys are detected across files in the same pack.
Paste a payload and click Check Event to classify it as New, Duplicate, or Missing Safe Key.
Need help choosing a composite key when event IDs are missing or ambiguous? Run an on-demand review of your payload.
Paste a webhook or event JSON payload (and optional delivery headers) to detect a stable idempotency key, classify the delivery as new or duplicate, and keep a local check history in your browser. Review key candidates, provider hints, and clear guidance when a safe key is missing. Paid users can run a Bulk Idempotency Check Pack on multiple JSON cases and download a ZIP of reports; AI Assistant can suggest a key expression when you explicitly enable it.
White-Label Platform
Paste a small snippet on your domain, use your branding, and sell to your clients with one subscription and no revenue share.
Learn moreTOOLGRID API GATEWAY
7-day free trial · $0
Start with a 7-day free trial at $0 — try 400,000 API credits (AI paths locked until paid). Then $19.99/mo.
Try 400,000 API credits for 7 days · $0
Start free trialToolGrid MCP
Connect ChatGPT, Claude, Cursor, and other MCP clients to this catalog — one connection, same Developer API credits as the gateway. Try 400,000 API credits for 7 days · $0 on the Gateway plan.
Connect MCPCommon questions about this tool
Paste an event JSON payload and optional delivery headers, or upload a small JSON file. You can also set a custom key expression when auto-detection is not enough.
It extracts a stable delivery or event key from headers or payload fields, then compares it against your local check history for that session so repeat deliveries are flagged.
Paid users can upload one or more JSON case files in one run and download a ZIP of per-file check reports plus a summary spreadsheet. Free use stays on single paste-and-check.
Paste a JSON event or webhook payload into Event Payload (or upload a small .json/.txt file), optionally add HTTP headers and a custom key expression, then click Check Event. The free browser check returns New Event, Duplicate Event, or Missing Safe Key and updates local history so you can compare retries in the same session.
Yes. Single paste-and-check runs free in your browser with local history—no install required. Optional AI Assistant uses credits when you explicitly run it. A paid Bulk Idempotency Check Pack unlocks multi-file ZIP reports; free use stays on the single-check path.
Free single checks accept pasted JSON or one uploaded .json/.txt file (up to 512 KB) into the form. Optional headers can be Name: value lines or a JSON object. Paid bulk packs accept 1–5 .json or .txt case files (up to 1 MB each, 4 MB combined on web) and return a ZIP of reports.
Yes. Open the page in your browser, paste or upload a payload, and run Check Event. Core single checks run locally on your device without installing a desktop app.
It parses your JSON payload and optional headers, finds a stable delivery or event key (or evaluates your custom expression), fingerprints the payload, and compares the key to local browser history. You get a New, Duplicate, or Missing Safe Key verdict with guidance and key candidates.
Free single checks run in your browser against local history. Use only payloads and headers you own or are authorized to analyze. Optional AI Assistant runs only when you click it. Paid bulk processing is subscription-gated on the server and packages file reports into a ZIP—not as a substitute for your production idempotency store.
New Event means the detected key was not in local history yet. Duplicate Event means the same key was already checked (and may warn if the payload fingerprint changed). Missing Safe Key means no stable header or payload ID—and no working custom rule—was found.
Yes. Expand Optional HTTP Headers & Custom Key Rule and enter an expression using payload dot-paths, header:name refs, quoted literals, and + joins. Clear the field to return to auto-detect. You can also apply a recommended expression from optional AI Assistant or from a key candidate in the result panel.
It is the paid multi-file path: upload 1–5 JSON or text case files within web size limits, optionally enable AI Assistant for missing_key cases, and download a ZIP of per-file check JSON plus a summary CSV. Free plans stay on single paste-and-check with no file batch.
No. Core New/Duplicate/Missing Safe Key checks work without AI. AI Assistant is optional and only runs when you explicitly enable it—on a single check for key advice, or on missing_key cases inside a paid bulk pack.
Free single-check history is stored locally in your browser for recent keys in that session capacity. It is not a shared production database. Paid bulk packs use shared history across files inside one pack only so duplicates inside that ZIP are visible.
Paste payloads up to about 500,000 characters and headers up to about 32,768 characters. A single free form upload is capped at 512 KB. Custom key expressions are capped at 2,048 characters. Paid bulk uses separate 1 MB per-file and 4 MB combined web limits.
Yes. When a key matches an earlier check but the payload fingerprint differs, Duplicate Event includes a payload-changed warning. That often means you keyed on a mutable entity ID instead of a per-delivery event ID.
Event idempotency means processing the same delivery or event identity only once for side effects, even if the message arrives again. If a payment webhook is retried, charging the card a second time is the failure mode idempotency is meant to prevent.
In practice you store a key that identifies that delivery—often a provider event ID or webhook delivery header—and skip business logic when the key was already processed successfully. The payload may still be inspected for logging, but money movement, emails, and order creation should not repeat.
Providers commonly use at-least-once delivery: they resend when your endpoint times out, returns 5xx, or is unreachable. Exactly-once processing on your side is usually implemented by combining durable key storage with careful handler design, not by hoping the network never retries.
A practical takeaway: treat idempotency as a property of your consumer, keyed off a stable delivery identity, not as a guarantee the wire will send a message only once.
You extract a stable key from the delivery, look it up in a processed-events store, and either run the handler (first time) or return success without repeating side effects (retry). The key must stay the same across provider retries and differ for truly new deliveries.
Typical keys come from headers such as webhook-id or a provider delivery GUID, or from payload fields like id or event_id. After a successful commit of side effects, you persist the key with a TTL or retention window long enough to cover late retries.
Order matters. If you mark a key processed before the database write that fulfills the order, a crash can leave you thinking the work is done when it is not. If you mark it too late, two concurrent retries can both pass the unseen check. Use atomic insert-if-absent patterns or transactional outboxes where your stack supports them.
When designing the flow, separate authentication of the request (signatures) from deduplication (idempotency keys). Both matter; they solve different problems.
An idempotency key for webhooks is the stable string your consumer uses to recognize a delivery it has already handled. It should be unique per logical delivery the provider intends to retry as the same attempt stream, and it should not change when the HTTP request is simply resent.
Good keys are usually opaque IDs issued by the provider for that delivery or event object—values that remain constant across retries. Weak keys include timestamps, retry counters, and mutable business object IDs that appear across many event types.
Some APIs also accept client-supplied Idempotency-Key headers on POST requests you send outbound. That is related but not identical: outbound request idempotency protects your calls to a provider, while webhook idempotency protects your handler when the provider calls you.
Prefer the delivery or event ID documented by the provider for retries. If none exists, design a composite from stable fields and document it as part of your integration contract.
Providers retry because they cannot know for sure that your endpoint finished successfully. Network blips, load balancers, process crashes, and slow handlers often look the same as a failed delivery from their side, so they resend until they get a success response or exhaust a retry schedule.
Retry schedules vary: immediate retries, exponential backoff, and delayed attempts over hours or days. During that window your handler may see the same delivery ID many times, sometimes with identical bytes and sometimes with minor transport differences if middleware rewrote the body.
If your endpoint returns 200 before side effects are durable, you can still lose work and still get retries later—or worse, complete work twice if you return errors after partial success. Align HTTP status with true completion of the critical path.
Plan for retries as normal traffic. Idempotent handlers turn retries into no-ops instead of incidents, which keeps customer-facing systems calm during brownouts. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Detect duplicates by comparing a stable delivery or event key against a store of keys you have already processed. If the key exists and prior processing succeeded, treat the request as a duplicate and return success without repeating side effects.
First confirm you are using the provider delivery identity, not a nested entity ID. Then ensure the store lookup is atomic with respect to concurrent requests—two simultaneous retries must not both believe they are first. Finally log the duplicate for observability so you can see retry storms.
During debugging you can paste the same payload twice into a local checker to confirm the key stays stable and that a second sighting is classified as duplicate. That does not replace a durable production store, but it helps validate which field should be the key.
If duplicates arrive with different payload fingerprints under the same key, investigate whether your key is wrong or whether the provider intentionally updated content—an uncommon case that deserves explicit handling.
A safe idempotency key is stable across retries, unique per delivery you must not double-apply, and independent of volatile fields like clocks and attempt counters. Provider delivery IDs and event IDs that follow that pattern are the usual best choice.
Avoid keys that identify a long-lived business object alone—payment intent IDs, order IDs, or customer IDs can appear in many event types and many deliveries. Using them can collapse distinct events into one already-processed decision or miss retries that share no object ID.
When a provider offers both a delivery UUID in headers and an event id in the body, read the docs for which identity is constant on retry. Prefer the one documented for deduplication. If you must compose a key, join only stable parts and keep the expression deterministic.
Validate your choice by replaying a captured retry: the key must match, and your handler must no-op safely without creating a second side effect.
Pick a documented delivery or event ID, persist it with an atomic check before side effects complete, and return success on duplicates. Keep retention long enough for the provider maximum retry window, and monitor duplicate rates as a health signal.
Separate signature verification from idempotency. Verify authenticity first when the provider signs requests, then apply dedupe. Do not use signature success alone as proof you have not already processed the delivery.
Make handlers safe under concurrency. Use database unique constraints on the key, conditional writes, or distributed locks appropriate to your stack. Avoid read-then-write checks without protection. Log first-seen and duplicate paths differently so alerts stay meaningful.
Test with real captured retries and failure injection: timeout before responding, crash after partial work, and double delivery. Fix any path that can charge twice or email twice. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
A delivery ID is the provider identifier for that webhook attempt stream. An idempotency key is whatever string your system stores to suppress duplicate side effects. Often they are the same value, but they are different roles.
Using the delivery ID as your idempotency key is usually correct when the provider guarantees it is constant across retries of that delivery. Using a different field can still be valid if your domain needs coarser or finer dedupe—for example collapsing multiple notifications into one business action—but that is a deliberate product choice.
Confusion happens when teams store an entity ID as the idempotency key and then cannot tell event types apart, or when they invent a new UUID per HTTP receive and never dedupe retries at all.
Default to the provider delivery or event ID as the stored key unless your domain model clearly requires a composite. Document the choice next to the webhook route. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Usually no—not alone. Entity IDs identify a business object (order, invoice, payment object), not a single webhook delivery. The same entity can appear in many event types and many deliveries over time.
If you key only on entity ID, a later legitimate event for that object may be skipped, or earlier processing of a different event type may block a new one. Conversely, retries of the same delivery might still look new if you keyed on something that changes.
Entity IDs can appear inside a composite key when the domain truly needs once-per-object-per-action, for example order_id plus event_type for a specific state transition. That is intentional dedupe of business outcomes, not pure delivery dedupe.
Prefer delivery or event IDs for webhook retries. Add entity fields only when product rules require coarser uniqueness, and test both retry and multi-event scenarios. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
The most common mistake is skipping idempotency entirely and assuming providers send each event once. Another is marking a key processed before side effects are durable, so a crash leaves inconsistent state while the provider still retries.
Teams also key on timestamps, pretty-printed JSON hashes that change with formatting, or nested object IDs that are not unique per delivery. Others return error statuses after successfully applying side effects, inviting endless retries that must stay safe.
Concurrency bugs show up as double charges when two retries pass a non-atomic have-we-seen-this check. Silent failure to store the key—permissions, TTL too short, wrong database shard—creates the same outcome later.
Review handlers for atomicity, key selection, retention, and status codes. Replay real provider retries in staging before go-live. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Choose a custom expression when the payload has no single stable delivery ID and you must combine fields that together uniquely identify the work you must not repeat. Keep the expression deterministic: same inputs must always produce the same string.
Start from fields that do not change on retry—event type plus a business reference is a common pattern when a delivery header is missing. Avoid clocks, random IDs you generate on receive, and fields the producer updates between attempts.
Write the rule down, validate it against sample retries, and prefer adding a real delivery ID upstream when you control the producer. Custom composites are a bridge, not a substitute for well-designed event identity.
If you experiment in a checker tool, use header refs and payload paths only—do not include secrets in the key string. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Signature verification answers whether this request really came from the provider with an untampered body. Idempotency answers whether you have already applied this delivery side effects. You typically need both on production webhook routes.
A valid signature on a retry still represents the same logical delivery. Without idempotency you can correctly trust the sender and still double-process. Without signatures, idempotency alone cannot stop a forged request that invents a new key.
Implement verify-then-dedupe, then apply business logic only on first successful claim of the key. Keep signing secrets out of logs; keys used for dedupe are identifiers, not credentials, but still avoid logging full sensitive payloads.
Think of signatures as authenticity and integrity, and idempotency as safe replay handling for at-least-once delivery. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Store processed keys in a durable system with a uniqueness constraint—such as a database table with a unique index on the key, or a key-value store with set-if-not-exists semantics. Record status, timestamps, and enough metadata to debug duplicates.
Choose retention from the provider retry policy plus margin. Keys that expire too early allow late retries to re-run side effects. Keys that live forever are fine for many volumes but need storage planning at high scale.
Coordinate storage with transactions: claim the key and commit side effects in an order that cannot double-apply under crash. Outbox patterns help when you publish further events after processing.
Do not rely on browser local history or in-memory sets on a single instance. Horizontal scale and deploys will lose those structures. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
If there is no stable delivery or event identity, you cannot reliably tell retries from new work. Handlers may double-send email, double-write rows, or skip events incorrectly if you invent weak substitutes.
Short term, you can build a composite from the most stable fields available and accept residual risk. Medium term, change the producer or choose a provider feature that emits a delivery ID header. Long term, require identity as part of the integration contract.
Operationally, missing keys should be loud in staging: fail closed for money-moving paths, or quarantine payloads for manual review instead of guessing. Logging a missing-key metric helps prioritize producer fixes.
Treat missing identity as a design defect for critical webhooks, not as a normal steady state. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Payload drift means the same idempotency key appears again but the body content fingerprint differs from the first time you stored it. That is a warning sign that your key may not identify a single immutable delivery.
Common causes include keying on an entity ID while different event payloads share that ID, middleware mutating JSON between attempts, or comparing non-canonical forms (key order, whitespace) when hashing. Less often, a provider may send updated content under an identity you misunderstood.
When you see drift, stop and re-evaluate the key. Prefer delivery headers. Canonicalize JSON before hashing if you fingerprint bodies. Do not silently apply new side effects under a duplicate path without an explicit product rule.
Use drift alerts in QA and production to catch bad key choices early before customers feel double side effects. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Payment webhooks are high-stakes because duplicates can double-charge or double-fulfill. Always dedupe on the provider event or delivery ID for that notification, and make fulfillment transactions conditional on that key.
Never use only the payment object ID if multiple event types reference it (authorized, captured, refunded). Each event type usually needs its own processing decision even when the underlying object ID repeats.
Verify signatures when offered, respond with success only when the durable work is done or safely recorded for async completion, and keep an audit trail of first processing versus duplicates. Test forced retries in sandbox before production traffic.
If you use outbound Idempotency-Key headers when calling the payment API yourself, that protects your API calls; it does not replace inbound webhook dedupe when the provider calls you. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
At-least-once delivery means the transport may deliver a message one or more times until acknowledged. Exactly-once processing means your application applies side effects once despite those duplicates. Most webhook systems give you the first and expect you to implement the second.
Exactly-once across distributed systems is hard in the abstract; in practice teams approximate it with idempotent handlers, unique constraints, and careful transaction boundaries. The goal is effectively once for business outcomes that matter.
Design APIs and webhooks assuming duplicates. Document which key defines sameness. Avoid architectures that require perfect single delivery to remain correct.
When someone claims a pipeline is exactly-once end to end, ask which identity is used and what happens on retry after partial failure. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Header-based IDs travel with the HTTP request (for example webhook-id or a delivery GUID) and often represent the delivery attempt stream. Payload-based IDs live inside JSON (id, event_id) and often represent the event object the producer serialized.
Either can be correct for idempotency if the provider documents that value as stable on retry. Headers are easy to miss when people paste only bodies into logs; payload IDs are easy to confuse with nested entity IDs.
Prefer the identity the provider associates with retries. If both exist and differ, do not assume they are interchangeable. Capture both in logs for debugging while storing one canonical key for dedupe.
When building test fixtures, include headers and body together so QA does not train on incomplete captures. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Retain keys at least as long as the provider may retry, plus a safety margin for clock skew and delayed queues. If retries can arrive days later, a one-hour TTL is too short for money-moving handlers.
Longer retention costs storage but reduces late duplicate risk. Some systems keep keys indefinitely with periodic archival; others use sliding TTLs refreshed on access. Pick a policy per webhook criticality rather than one global guess.
Document the retention next to the consumer. When you shorten TTL, treat it as a behavior change and load-test late retry scenarios. When you lengthen TTL, watch database size and index health.
Align retention with business audit needs too—finance workflows often want longer proof of processing than a minimal retry window. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
In 2026, most event-driven systems still assume at-least-once delivery between brokers, functions, and webhook edges. Idempotency keys remain the practical way to keep side effects safe under retries, redeliveries, and competing consumers.
CloudEvents-style envelopes encourage a stable id attribute; many SaaS webhooks continue to use provider-specific delivery headers. Consumers should standardize on extracting and storing that identity early in the pipeline, before fan-out to multiple workers.
Trends like serverless concurrency and multi-region active-active make atomic claim-key operations more important than ever. Design for duplicate delivery as normal, and measure duplicate rates as a reliability signal—not as an anomaly you hope never appears.
Keep human-readable runbooks: which field is the key, where it is stored, how long it lives, and how to replay safely after a bugfix. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Use a composite key when no single field uniquely identifies the work you must not repeat, but a deterministic combination of stable fields does. Example patterns include event_type plus order_ref, or producer plus delivery header when headers alone collide across tenants.
Composites should exclude volatile parts. Do not append timestamps or random suffixes that change on retry. Keep separators explicit and document field order so every service builds the same string.
Composites add complexity and can hide missing upstream identity. Prefer pushing a real delivery ID into the producer when you can. Use composites as a controlled exception with tests that prove retries collide correctly and distinct events do not.
If two teams must share the rule, publish it as a short specification beside the webhook schema. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Timestamps change between attempts or are too coarse to distinguish events. A second-resolution clock can collide under burst traffic; a high-resolution clock on the producer may differ on retry if the payload is regenerated.
Providers also send timestamp headers for signature freshness. Those values are for skew checks, not for dedupe identity. Using them as idempotency keys can mark every retry as new or incorrectly collapse unrelated events.
If your only unique fields look time-based, that is a signal to add a proper ID upstream. Temporary composites should still avoid pure timestamps as the sole discriminant.
Reserve timestamps for ordering, expiry, and audit—not for deciding whether you have processed this delivery already. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Capture a real provider delivery (headers plus raw body), process it once in staging, then POST the same capture again and assert no second side effect. Confirm the stored key matches what you expect and that HTTP responses stay successful on the retry.
Add failure injection: kill the process after side effects but before responding; run two parallel retries; truncate the idempotency table; expire TTL early. Each case should remain safe or fail visibly.
Automate a small fixture pack per provider. Include a missing-key fixture that should refuse unsafe processing. Review logs for first-seen versus duplicate paths after each test.
Manual paste checks help pick the key during design; automated HTTP replays prove the production handler. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Outbound API idempotency usually means you send an Idempotency-Key header so the server can ignore duplicate POSTs you accidentally retried. Inbound webhook idempotency means you ignore duplicate POSTs the provider retried to you.
The stored key lives on different sides. For APIs you generate and reuse a key per logical client operation. For webhooks you extract a provider-issued identity and store it in your consumer.
Both need atomic claim semantics and clear success criteria. Mixing them up—relying on an outbound key to protect inbound webhooks—leaves a gap.
Document both directions in integration guides so on-call engineers know which table or cache to inspect during an incident. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
SaaS integrations often wire many webhook topics into one account. Each topic needs a clear identity strategy, and shared infrastructure should not assume one global id field means the same thing across vendors.
Normalize early: extract provider, topic, and delivery key into a common envelope before workers run. Apply per-route handlers that understand topic-specific side effects while sharing one idempotency store schema.
Customer-facing risk is high—duplicate invoices, duplicate seat provisioning, duplicate alerts. Prioritize money and access flows for the strictest key retention and monitoring.
When onboarding a new SaaS webhook, add fixtures and a runbook row for which header or field is the key before enabling production subscriptions. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Race conditions happen when two retries arrive close together and both pass a non-atomic existence check before either writes the key. Both proceed into side effects and you get duplicates despite having idempotency.
Fix races with uniqueness constraints, compare-and-set, transactions, or lock services that serialize claims per key. The pattern should be insert key as processing or processed; if conflict, exit—not select then insert.
Load-test with parallel duplicate delivery. Unit tests that run a single threaded retry will not catch this class of bug. Watch production for correlated double writes sharing the same key.
If your datastore cannot enforce uniqueness, you do not yet have reliable idempotency under concurrency. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Sometimes operators want to reprocess an event after fixing a bug even though the original delivery ID was already stored. Blindly deleting keys can allow unintentional duplicates; never clearing keys can block intentional replay.
Prefer an explicit replay tool that creates a new processing record with an audit reason, or that marks a key as eligible for reprocessing under controlled conditions. Keep the original history for forensics.
If you must re-run side effects, make them upsert-safe: writing the same order state twice should not create two orders. Idempotent business operations make controlled replay safer.
Separate provider retry (same key, no new effects) from operator replay (authorized new attempt with tracing). Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
CloudEvents defines an id attribute that identifies the event. When producers set it stably and consumers treat it as the dedupe key, it becomes a solid foundation for idempotent processing across transports.
Not every webhook that looks JSON-like is CloudEvents. Check for specversion and related attributes before assuming id means the same thing. Some systems put a CloudEvents id in headers (ce-id) as well as in the body.
If you produce CloudEvents, generate ids that remain constant for logical retries of the same event and never recycle ids for different events. If you consume them, store id with source (and possibly type) when uniqueness is defined across that pair by your contract.
Align broker redelivery settings with consumer key retention so late redeliveries still hit the idempotency store. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
A local or online checker that only inspects payloads you provide is as safe as the data you paste and the environment you run in. The main risks are pasting secrets unnecessarily, using unauthorized third-party data, or mistaking a browser demo history for production storage.
Do not paste live signing secrets into an idempotency checker; those belong in signature verification flows with clear secret handling. Prefer delivery IDs and non-sensitive event bodies for key experiments. Clear local history on shared machines.
Safety of your real system still depends on durable stores, unique constraints, and signature checks in production—not on a diagnostic page alone. Use checkers to validate key selection and educate the team.
Authorized-use policies matter: only analyze events you own or have permission to debug. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Queue acknowledgements tell the broker it can stop redelivering a message. Idempotency tells your app not to apply side effects twice if redelivery still happens. Ack alone is not enough if a worker crashes after side effects but before ack, or if at-least-once is configured.
Acknowledge only after durable work completes, and still keep an idempotency key for handlers that can be invoked more than once. Competing consumers make this more important because two workers might receive related deliveries.
Some teams mistakenly delete queue messages early to avoid duplicates and then lose data on failure. Others ack late but skip keys and still double-write under redelivery.
Combine explicit ack timing with key-based dedupe for critical consumers. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
An event idempotency checker helps you find a stable delivery or event key and classify whether a payload looks new or repeated. A signature verifier checks whether a request body and signature match a provider signing scheme so you can trust authenticity and integrity.
They answer different questions. Idempotency is about safe replay of side effects. Signature verification is about proving who sent the bytes and that they were not altered. Production webhook routes usually need both: verify first, then dedupe on a stable key.
Choose an idempotency-focused workflow when you are selecting keys, debugging duplicate fulfillments, or designing composites. Choose signature verification when digests fail, secrets look wrong, or timestamp windows reject otherwise valid traffic.
Using only one leaves a gap: trusted duplicates can still double-charge, and deduped forgeries can still enter if authenticity is skipped. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
How to implement event idempotency: pick a stable delivery or event identity, claim it atomically in durable storage, run side effects only on first claim, and return success on later duplicates. That sequence is the core how-to teams need for webhook and event consumers.
First map which header or payload field the producer guarantees on retry. Then implement insert-if-absent or a unique constraint around that key. Finally verify with forced retries and concurrency tests that side effects cannot double-apply.
Avoid teaching only happy-path single delivery. Include failure after partial work, late retries after TTL mistakes, and missing-key fixtures that should fail closed for money paths.
When people search how to event idempotency, they usually want this operational recipe—not a synonym for message ordering or exactly-once networking myths. Keep the rule written down next to the consumer so on-call engineers can see which identity is canonical, how long keys are retained, and what to do when a late retry arrives after a deploy.
Other tools that share the same tags
Verified content & sources
This tool's content and its supporting explanations have been created and reviewed by subject-matter experts. Calculations and logic are based on established research sources.
Scope: interactive tool, explanatory content, and related articles.
ToolGrid — Product & Engineering
Leads product strategy, technical architecture, and implementation of the core platform that powers ToolGrid calculators.
ToolGrid — Research & Content
Conducts research, designs calculation methodologies, and produces explanatory content to ensure accurate, practical, and trustworthy tool outputs.
Based on 2 research sources:
Learn what this tool does, when to use it, and how it fits into your workflow.
This event idempotency checker helps you decide whether a webhook or event delivery is new, a retry of something you already saw, or missing a safe identity key. Paste a JSON event payload, optionally add delivery headers, and run a free check event idempotency pass in your browser. The tool looks for a stable delivery or event ID, compares it with local history, and shows a clear verdict: New Event, Duplicate Event, or Missing Safe Key.
Webhook providers often resend the same delivery when your server is slow, returns an error, or times out. If your handler runs side effects twice—charging a card, sending an email, creating an order—you can cause real harm. A quick webhook idempotency check makes the key visible and shows whether you have already seen it in the current browser session, so diagnostics and QA stay simple without installing extra software. Use it when you need how to detect duplicate webhook deliveries before they cause double charges or duplicate emails. Digests used in signed webhook headers can be inspected with a message authentication digest builder.
Who is it for? Backend engineers, QA, and support people who debug webhook and event payloads during staging and production troubleshooting. Free use is single paste-and-check with local history. Paid users can run a Bulk Idempotency Check Pack on multiple JSON case files and download a ZIP of reports. An optional AI Assistant can suggest a custom key expression when you explicitly turn it on—especially useful when no safe key is found.
People often ask what is a safe idempotency key for webhooks. It is a stable string that should stay the same when a provider retries the same delivery, and should change for a truly new delivery. Good keys often live in headers such as webhook-id, svix-id, X-GitHub-Delivery, or X-Shopify-Webhook-Id. They may also appear in the JSON body as fields like id, event_id, or message_id.
Bad keys are fields that change on every attempt or that identify a business object instead of a delivery. Timestamps, retry counters, and mutable entity IDs (for example a payment object ID that appears in many event types) are weak choices. Using them can make two different deliveries look like one event, or make retries look brand new. An idempotency key detector that ranks stable versus volatile candidates helps you avoid those mistakes under incident pressure. Authenticity of the same delivery bytes is a separate concern covered by a signed webhook header check.
Teams also want how to find webhook delivery id in headers when logs only show pretty-printed JSON. Paste the header block when you have it; many providers put the true delivery ID there, not in the body. Manual review is slow. This page scans common header names and payload paths, stores successful keys locally, and lets you replay checks. Related signature work belongs in a mail webhook signature verifier. Sending test posts belongs in a webhook tester.
.json or .txt file up to 512 KB to fill the payload field so you can load a captured file without retyping.Name: value lines or a JSON object of headers. A webhook delivery id checker is far more accurate when real delivery headers are present.data.object.id), header refs (header:webhook-id), quoted literals, and + joins. Clear the field to return to auto-detect when you need how to choose a custom idempotency key expression for a custom producer.Payment webhook retries. Paste a payment-succeeded style body (and signature header if you have it). Confirm the event ID is treated as New the first time and Duplicate on a second paste. That is a practical way to check duplicate webhook events before you trust your handler’s processed-events store.
Commerce order webhooks. Include delivery or event ID headers with an orders/create payload. Prefer the delivery UUID over shop-scoped order numbers when you need per-delivery webhook event dedupe.
Source-control delivery GUID. Paste a push event with a delivery GUID header. Confirm CI deploy logic keys off that GUID so a redelivery does not start a second build pipeline—an everyday webhook retry checker scenario.
Standard webhook delivery headers. Use webhook-id or svix-id with a subscription payload. Align your consumer’s dedupe table with the same header the provider documents for retries.
Missing-key custom webhook. Load or paste a body that only has volatile fields like sent_at. Read the Missing Safe Key verdict when is a webhook event missing an idempotency key, then add a delivery header upstream or craft a custom expression. Optionally run AI Assistant for a recommended expression. Spotting a missing idempotency key early prevents double side effects later. Staging endpoints can be exercised with a request replay endpoint check.
Payload drift investigation. When a duplicate key appears with a changed fingerprint warning, stop treating a nested entity ID as the delivery key. Switch to a header delivery ID or a composite expression.
Regression packs after a release. Paid users keep JSON case files for each provider sample, run Bulk Idempotency Check Pack, and attach the ZIP summary to a ticket. Pair signature checks with the mail webhook signature verifier when authenticity is also in doubt. Generate fresh UUIDs for synthetic keys with a UUID generator if you are designing a new producer.
The free single check runs in your browser. The payload must be valid JSON. Headers are parsed as a JSON object or as Name: value lines (names are lowercased). If a custom key expression is set, it is evaluated first: quoted strings stay literal, header:… / headers.… tokens read headers, and other tokens are treated as payload dot-paths. Parts are joined in order. Missing parts produce an error and fall through toward a missing-key outcome with guidance.
Without a custom rule, the tool scans known stable header names (for example webhook-id, svix-id, x-github-delivery, x-shopify-webhook-id, idempotency-key, CloudEvents ce-id, SNS message IDs, and similar). It also scans common payload paths such as id, event_id, delivery_id, message_id, nested event.id, and related fields. Candidates are labeled stable, weak, or volatile. Volatile names include timestamps and retry counters. Preference goes to a stable header candidate, then a stable payload candidate.
Provider hint and event type are inferred from headers and payload shape. A payload fingerprint is computed from a canonical JSON form (sorted object keys) using a SHA-256 digest when available in the browser, with a fallback hash only if that API is unavailable. That fingerprint powers the event duplicate detector when the same key appears again with different content.
History is keyed by the detected key string. A first sighting yields New Event and stores the record (up to a local maximum of recent items). A later sighting of the same key yields Duplicate Event, increments seen count, and sets payloadChanged when the fingerprint differs from the first store. Missing Safe Key means no acceptable key was found; history is not updated for that run. Use the free flow when you need how to test webhook retries for duplicates before you change production code.
Bulk packs reuse the same check logic on the server for each uploaded case file, sharing batch-local history across files in one pack so duplicates inside the ZIP are visible. Optional AI Assistant on missing_key cases returns a recommended expression and related advice; failures for one file do not cancel the ZIP. Outputs are packaged as files in an archive with a summary spreadsheet—not as large inlined binary blobs. Together, this is how to validate webhook idempotency before production without guessing which field is unique. Payload syntax can be confirmed beforehand with a structured json syntax check.
| Verdict | What it means | Typical next step |
|---|---|---|
| New Event | The detected key was not in local history yet. | Treat as first delivery; store the key in your real idempotency store the same way. |
| Duplicate Event | The same key was already checked in this browser history. | Expect a provider retry; confirm side effects are skipped. If payload changed, rethink the key. |
| Missing Safe Key | No stable header or payload ID (and no working custom rule) was found. | Add a delivery header upstream, craft a custom expression, or run AI Assistant for a suggestion. |
| Input / pack limit | Free single check | Paid bulk pack (web) |
|---|---|---|
| Files per run | No multi-file batch (paste or one small upload into the form) | 1–5 case files |
| Per-file size | Upload into the form up to 512 KB; paste up to about 500,000 characters | Up to 1 MB per file |
| Combined upload | Not applicable for batch | Up to 4 MB combined |
| Headers paste | Up to about 32,768 characters | Per-case headers inside each JSON file |
| History | Local browser storage for recent keys | Shared history across files inside one pack |
| Candidate stability | Meaning |
|---|---|
| Stable | Looks like a delivery or event ID that should survive retries. |
| Weak | May work in some designs but needs human review (for example request IDs that are not constant across retries). |
| Volatile | Likely changes every attempt (timestamps, retry counters) and should not be the sole key. |
Prefer delivery IDs over entity IDs. A payment object ID can appear in many event types. A per-delivery event ID or webhook delivery header is usually safer for idempotency.
Always paste headers when you have them. Auto-detect is stronger with real delivery headers. Body-only pastes miss many provider keys.
Treat local history as a teaching aid, not production storage. History lives in the browser for this tool session capacity. Your real system still needs a durable store keyed the same way. Keep an idempotency key online check here for learning and QA, then mirror the same key rule in your service.
Watch for payload-changed duplicates. That warning often means the key is wrong. Expand candidates and switch to a header delivery ID or a composite expression.
Keep custom expressions simple. Use clear paths and header refs. Unclosed quotes or missing fields produce expression errors—fix and recheck.
Use samples first. Learn New versus Duplicate by checking the same sample twice. Then try the Missing ID Risk sample to see Missing Safe Key behavior.
AI Assistant is optional. Run it only when you want a suggested expression. It does not replace the deterministic verdict. In bulk, AI soft-fails per file so the ZIP still builds.
Respect size limits. Trim huge arrays before pasting. For free uploads, stay under 512 KB. For paid bulk, stay within 1 MB per file and 4 MB combined on web.
Authorized use only. Analyze payloads and headers you own or are allowed to debug. Do not use the tool to probe third-party systems without permission.
Honest limitations. The checker does not call your production API, does not prove webhook signatures by itself, and does not sync history across devices or teammates. Bulk is paid and capped. Provider hints are best-effort labels based on common shapes, not a guarantee of every vendor edge case. Validate JSON before checking; invalid JSON stops the run with an error instead of a verdict. Captured deliveries can also be reshaped into outbound calls with an outbound http call composer.
When you also need to validate JSON structure before a check, a JSON validator can help. When you need to POST synthetic deliveries to a staging URL after you settle on a key rule, return to a webhook tester.
Summary: Paste a webhook or event JSON payload (and optional delivery headers) to detect a stable idempotency key, classify the delivery as new or duplicate, and keep a local check history in your browser. Review key candidates, provider hints, and clear guidance when a safe key is missing. Paid users can run a Bulk Idempotency Check Pack on multiple JSON cases and download a ZIP of reports; AI Assistant can suggest a key expression when you explicitly enable it.