Get ROI statistics
The numbers on the dashboard performance section: 7, 30 and 90 day periods with deltas, plus weekly success rates. The snapshot is rebuilt weekly, so read referenceDate before treating 30d as the 30 days ending today.
Authentication
api-keystring
Your Atlas API key. Get it from the Atlas Portal under Settings > API Keys.
Query parameters
campaignId
Limit the result to one campaign. Omit for the account-wide roll-up.
Response
Successful response
referenceDate
Date the snapshot was built for.
customerId
Account the snapshot belongs to.
billingStatus
Billing status of the account, or null if none is recorded.
campaignCount
Number of campaigns on the account.
activeCampaignCount
Number of campaigns that are currently active.
totals
Metrics per period (7d, 30d, 90d) and their deltas versus the prior period.
weeklySuccessRates
Success rate for each recent week.
campaigns
Per-campaign breakdown.
Errors
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
