Skip to navigation

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

campaignIdstringOptional

Limit the result to one campaign. Omit for the account-wide roll-up.

Response

Successful response
referenceDatestringOptional
Date the snapshot was built for.
customerIdstringOptional
Account the snapshot belongs to.
billingStatusstring or nullOptional
Billing status of the account, or null if none is recorded.
campaignCountintegerOptional
Number of campaigns on the account.
activeCampaignCountintegerOptional
Number of campaigns that are currently active.
totalsobjectOptional

Metrics per period (7d, 30d, 90d) and their deltas versus the prior period.

weeklySuccessRateslist of objectsOptional
Success rate for each recent week.
campaignslist of objectsOptional

Per-campaign breakdown.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error