IOSOR Learn

API Webhook Signature Verification During Route Failover

How partner signing keys, replay windows, and IP allowlists behave on failover mid-campaign, and why silent signature mismatches hide lost DLRs.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

When a route fails over mid-campaign, the webhook signer changes with the route, so replay windows, key IDs, and IP allowlists must be re-verified per partner — otherwise a silent signature mismatch drops DLR evidence without any error on your side.

Why failover breaks signature verification

Signing is usually bound to the partner route, not to your endpoint. Primary and standby routes may use different HMAC keys, clock skew budgets, and source IP ranges. On failover, in-flight retries and late DLR receipts arrive signed by the standby route, which your verifier has never seen.

Audit criteria before you commit volume

Test each candidate route against five measurable checks. First, key rotation: confirm key IDs are published in advance and old keys stay valid past your replay window. Second, replay window: compare the route timestamp tolerance with your verifier tolerance; skew beyond one minute is a silent-mismatch risk. Third, IP allowlist: verify source ranges for both primary and standby, and whether they change on failover.

Silent mismatches mask lost deliveries

A mismatch that returns 401 and is not retried looks identical to a delivery that never happened. To separate the two, log verification failures with route ID, key ID, timestamp delta, and source IP, then reconcile against your submitted message IDs on a short cycle. If mismatches spike while DLR volume drops, you have proof of masking rather than evidence of carrier loss.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

Sender and template gates that interact with failover

Registration state does not fail over automatically. A sender ID approved on the primary route may be unmapped on the standby route, producing rejects that look like signature errors. Pre-verify sender registration and template approval on every candidate route, and confirm the standby returns the same error taxonomy for unregistered sender IDs.

Operate the checks continuously

Run signature verification as a scheduled probe: synthetic sends on both routes, signed receipt assertions, and comparison of key IDs against the published set. Log every probe result with route and timestamp so trends are visible before a campaign. Keep a runbook step for failover that includes rotating the verifier key set, checking IP allowlist deltas, and draining the dead-letter queue.

Start with IOSOR

Run the comparison checklist before committing volume. For each candidate partner route, record: signing key IDs and rotation notice period, replay window tolerance, primary and standby IP allowlist ranges, DLR receipt coverage for delivered, failed, and expired states, signed webhook p95 latency, and sender plus template gate status.

Related: PAYG hold before first debit · Wallet stop-lines before production.

IOSOR takeaway

Signing is usually bound to the partner route, not to your endpoint. Keep a runbook step for failover that includes rotating the verifier key set, checking IP allowlist deltas, and draining the dead-letter queue (/tools/brief · DLR / webhook).

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers