Contacts Reporting
GET Campaign Performance Statistics
Changed onRetrieves campaign performance stats for one or more campaigns for a given date range.
get/reports/email_reports/campaign_performance
Request
- Base URL: https://api.cc.email/v3
- URL: https://api.cc.email/v3/reports/email_reports/campaign_performance
- Auth: one of:
- OAuth 2 (implicit, authorization URL https://authz.constantcontact.com/oauth2/default/v1/authorize, scopes: contact_data)
- OAuth 2 (authorization code, authorization URL https://authz.constantcontact.com/oauth2/default/v1/authorize, token URL https://authz.constantcontact.com/oauth2/default/v1/token, scopes: contact_data)
Query parameters
start_atstring
The date range start in ISO 8601 format (e.g. '2016-01-27T21:56:37.011Z')
end_atstring
The date range end in ISO 8601 format (e.g. '2016-01-27T21:56:37.011Z')
countstring
Number of campaign stats to return in a single request.
filterstring
Filter campaigns by adjusted_timestamp (default) or start_at.
Response
Request was successful
Example response
{
"errors": [
{
"error_key": "reportingsvc.not_found.invalid_path_param.campaign_ids.",
"error_message": "Could not find any campaign stats for all requested campaigns."
}
]
}Changes
- ○
endpoint added
- ○