IOSOR Learn

Sub-Account Webhook Event Filtering and Routing Rules

Configure per-sub-account webhook filters to route specific event types to dedicated endpoints without payload duplication, then benchmark partner routing logic via Decision Brief.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Operators define event-type filters per sub-account so only relevant webhooks — delivery receipts, inbound replies, opt-outs — hit each endpoint, eliminating duplicate payload processing. Rules are evaluated in order; first match wins, and unmatched events fall through to a default catch-all URL.

Event-Type Taxonomy and Filter Syntax

Supported event types include `message.sent`, `message.delivered`, `message.failed`, `inbound.received`, `optout.received`, and `verification.completed`. Filters accept exact matches, glob patterns (`message.*`), and comma-separated lists. Each rule binds a filter to a target HTTPS endpoint with optional HMAC secret and custom headers.

Routing Precedence and Conflict Resolution

When multiple sub-accounts share a parent account, child rules are evaluated before parent defaults. A sub-account may override a parent filter for the same event type by declaring a more specific pattern. Circular overrides are rejected at save time with a 409 response detailing the conflicting rule IDs.

Payload Deduplication Guarantees

The platform guarantees at-most-once delivery per event-id per endpoint. If a sub-account has two rules matching the same event, only the first matching rule receives the payload. Idempotency keys (`X-IOSOR-Event-ID`) allow consumers to safely retry without double-processing.

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

Latency Budgets and Retry Policy

Filtered webhooks must be acknowledged within 2 s; otherwise the platform retries with exponential backoff (1 s, 4 s, 15 s, 60 s) up to 24 h. Endpoints returning 4xx are not retried; 5xx and timeouts follow the backoff schedule. Circuit-breaker trips after 50 consecutive failures, pausing delivery for 10 min.

Observability and Debug Replay

Every filtered delivery emits a structured log entry with rule-id, event-type, target-url, latency-ms, and response-code. Operators can replay any event from the last 72 h via the dashboard or API, preserving original headers and signatures for downstream verification.

Start with IOSOR

Compare verified partner webhook filtering depth, routing precedence models, and retry SLA adherence in the Decision Brief. Checklist: enumerate required event types per sub-account, map each to a dedicated endpoint, validate HMAC secrets, load-test 10 k events/min with 99th-pctile latency < 500 ms, confirm deduplication via idempotency keys, document override hierarchy, schedule quarterly rule audits. Related: Sub-Account Webhook Endpoint Isolation Strategies, Sub-Account Webhook Payload Enrichment Consistency, Sub-Account Webhook Delivery Ordering Guarantees.

IOSOR takeaway

Checklist: enumerate required event types per sub-account, map each to a dedicated endpoint, validate HMAC secrets, load-test 10 k events/min with 99th-pctile latency < 500 ms, confirm deduplication via idempotency keys, document override hierarchy, schedule quarterly rule audits. Related: Open Route & Partner Brief(/tools/brief), Open Route & Partner Brief(/tools/brief), Open Route & Partner Brief(/tools/brief) (/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