Get Campaign Statistics
Get campaign statistics
Get statistics of a campaign
GET https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/campaigns/{campaignID}/statistics
GET Parameters
Name | In | Description | Required | Type | Example |
---|---|---|---|---|---|
AccountID | Path | The account guid | True | Guid | A8C062E4-ECFD-48D0-89B1-A37D2622B7A9 |
CampaignID | Path | The campaign guid | True | Guid | 77E6A0E6-0C92-4138-89BD-886EDF2ECC0D |
X-CM-PRODUCTTOKEN | Header | Your product token | True | Guid | C24A5029-37DD-4161-9728-F80D8639588E |
Responses
Http status | Description |
---|---|
200 | Successful operation |
400 | Bad request |
{
"CampaignID": "77e6a0e6-0c92-4138-89bd-886edf2ecc0d",
"Total": 1,
"Statistics": [
{
"StatusID": 1,
"Status": "Sent",
"NumberOfItems": 1
},
{
"StatusID": 2,
"Status": "Unsubscribed",
"NumberOfItems": 0
},
{
"StatusID": 3,
"Status": "Delivered",
"NumberOfItems": 0
},
{
"StatusID": 4,
"Status": "Complained",
"NumberOfItems": 0
},
{
"StatusID": 5,
"Status": "Bounced",
"NumberOfItems": 0
},
{
"StatusID": 6,
"Status": "Blacklisted",
"NumberOfItems": 0
},
{
"StatusID": 7,
"Status": "Opened",
"NumberOfItems": 0
},
{
"StatusID": 9,
"Status": "Clicked",
"NumberOfItems": 0
}
]
}
Updated about 2 years ago