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.
Lead Telecom & Routing Architect · Lausanne, CH
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.
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
- Sub-Account Webhook Signing Secrets: Isolation and Rotation Gates
Verify per-sub-account webhook signing secrets stay isolated, rotatable, and auditable without cross-tenant leakage, then compare partner routes via the Decision Brief.
- Sub-Account Sender ID Registry Conflicts: Resolve Before Route Selection
Detect and resolve alpha-tag collisions across sub-accounts before provisioning routes, so carrier rejection and DLR ambiguity never reach production traffic.
- Sub-Account Sender ID Registration and Ownership Verification Gate
Ops gate for sub-account sender ID registration: verify carrier validity, ownership attestation, and collision-free routes before enabling outbound SMS.












