Skip to navigation

Get aggregate campaign stats

View as Markdown

One set of stats totalled across campaigns. Counts and revenue are summed; rates are recalculated from the summed counts. sent_after is inclusive and sent_before exclusive.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

X-Partner-IdstringRequired
Your OAuth application client ID.

Query parameters

campaign_idsstringOptional>=1 character

Comma-separated campaign IDs, max 100.

sent_afterdatetimeOptional
sent_beforedatetimeOptional

Response

campaigns_includedinteger
stats_refreshed_atdatetime or null
statsobject or null

Explicit, versioned view over the cached stats blob — the raw blob is never passed through, so internal key changes can’t break API consumers. Sections the campaign has no cached data for serialize as null.

Errors

422
Unprocessable Entity Error