ROAS broken down by template or message
Attribute one campaign’s conversion revenue by touchpoint — template (default) or individual message — so a marketer can see which creative actually drove purchases, not just which campaign. Accepts the same model, window_hours, and half_life_hours knobs as GET /campaigns//roas plus granularity (template | message). Each touchpoint’s attributed revenue is paired with that touchpoint’s own send cost over the converting cohort, so numerator and denominator stay scoped consistently. Read-only; campaigns:read scope.
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 Path Parameters
Response
Successful response.