Get Mailing Statistics

Get mailing statistics

Get statistics of a mailing

GET https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/campaigns/{campaignID}/mailing/{mailingID}/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
MailingID Path The campaign guid True Guid 4AE21153-5DC0-4E35-9497-C87B7A3F6653
X-CM-PRODUCTTOKEN Header Your product token True Guid C24A5029-37DD-4161-9728-F80D8639588E

Responses

Http status Description
200 Successful operation
400 Bad request
{
    "MailingID": "4ae21153-5dc0-4e35-9497-c87b7a3f6653",
    "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
        }
    ]
}

Did this page help you?