Account-level messaging health score
Rolls every outbound message over the window into one benchmarked 0–100 composite with five subscores — Sent Rate (delivery success), Compliance (complaint + opt-out rates), Fraud (suspected-fraud block rate), Latency (median accept-to-delivered seconds), and Engagement (reply within the engagement window) — plus ranked “fix this to gain X points” recommendations. Below the minimum sample floor the response carries an insufficient tier instead of a misleading score. Query params: window (24h|7d|30d, default 7d) and optional minSampleSize override. Read-only, open to owner/admin/developer/viewer, 60s cached.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Response
Successful response.