GET the Send History of an Email Campaign Activity
Changed onUse this method to return the send history of an email campaign activity. This method returns the send history as an array containing an object for each time you sent a specific email campaign activity to contacts.
Each send history object contains the email campaign activity send date, the number of contacts it was sent to, and the contact lists or segments used to send it. Each send history object also includes if the send attempt completed or encountered an error, and the reason why each error occurred. This method returns results in ascending order starting with the first send attempt.
If the email campaign activity has not been sent to contacts, this method returns a 200 response and an empty array.
Request
- Base URLhttps://api.cc.email/v3
- URLhttps://api.cc.email/v3/emails/activities/{campaign_activity_id}/send_history
- Auth
- OAuth 2Implicit: https://authz.constantcontact.com/oauth2/default/v1/authorizeScopes: campaign_data
- or OAuth 2Authorization code: https://authz.constantcontact.com/oauth2/default/v1/authorizeToken URL: https://authz.constantcontact.com/oauth2/default/v1/token scopes: campaign_data
Path parameters
The unique ID for an email campaign activity. You can return the send history for primary_email and resend role email campaign activities.
Response
Request successful.
Example response
[
{
"send_id": 1,
"contact_list_ids": [
"72876990-b664-11e5-844a-00163e0cb6a5"
],
"segment_ids": [
57
],
"count": 200,
"run_date": "2018-06-27T10:28:09.000Z",
"send_status": "COMPLETED"
}
]Changes
- info
the endpoint scheme security
api_keywas removed from the API
- info
- info
endpoint added
- info