IOSOR Learn
DLR Webhook Acknowledgment, Retry, and Idempotency Readiness Gate
Check partner DLR webhook contracts for timely acks, safe retries, idempotency key persistence across failover — then compare routes in the Decision Brief.
Lead Telecom & Routing Architect · Lausanne, CH
A partner DLR webhook passes this gate only if it acks every callback inside the agreed latency window, retries failed deliveries without re-emitting state transitions, and carries a stable idempotency key through failover. If any of the three fails, your receipt state silently diverges from the carrier ledger.
Ack latency and receipt-state contract
Start with the ack clock. For each partner route, record the contract ack timeout (200 or 204 only — no body echo), the observed p95 latency to first ack, and the retry schedule that fires when the ack is missed. Test with a synthetic receipt burst at 3x expected peak. Then verify what the ack actually commits: an ack should mean 'receipt persisted', not 'receipt received in buffer'.
Retry semantics without duplicate state
Retries must not replay state transitions. Force a partner retry by dropping two consecutive callbacks and confirm the third delivery carries the same event identity, not a new transition. Check whether a duplicate receipt arriving after a terminal status (delivered, expired, rejected) is discarded or rewrites history — a rewrite corrupts reconciliation.
Idempotency keys across failover
This is the failure mode most routes fail. Capture the idempotency key the partner uses (message id, submission id, or hash), then force a route failover and confirm the key is preserved on the secondary path. If the key regenerates on failover, your dedupe layer sees two distinct events and double-counts delivery or double-fires downstream actions.
Verification procedure and evidence to collect
Run a three-pass test per route: (1) normal ack timing at peak; (2) forced retry with duplicate injection; (3) failover with key continuity check. For each pass, capture the raw callback payload, the ack timestamp, the stored receipt, and the reconciliation diff against the submission log.
Sender, template, and corridor gates for DLR routes
Ack and idempotency mean nothing if the route cannot return a receipt for your sender profile. Verify the partner accepts your sender id and template class before testing DLR behavior, because template rejection produces a different error taxonomy that masks webhook failures.
Start with IOSOR
Run this gate as a partner-comparison checklist. Before anything else, open the SMS route desk comparison and map each candidate route against the three passes above: ack latency, retry without duplicate state, idempotency key continuity across failover. Log the outcome per route in a shared sheet — route, ack p95, retry window, key scope, terminal status behavior, pass/fail.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
For each partner route, record the contract ack timeout (200 or 204 only — no body echo), the observed p95 latency to first ack, and the retry schedule that fires when the ack is missed. Verify the partner accepts your sender id and template class before testing DLR behavior, because template rejection produces a different error taxonomy that masks webhook failures (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- SMS Route Cost-Band Verification and Failover Readiness Gate
Verify quoted SMS route cost bands against carrier and aggregator tiers, then confirm failover routes preserve delivery SLAs before committing volume.
- SMS Route Cost-Band Verification Before Volume Commitment
Verify quoted SMS cost bands against real carrier and aggregator route economics, audit DLR and failover behavior, then compare partner routes before committing campaign volume.
- Audit SMS Webhook Signatures Before Provider Failover
Verify SMS webhook signing, replay protection, and acknowledgement behavior before switching providers, then compare partner routes and webhook guarantees in Decision Brief.












