Delivery Headers

REST API Method: delivery

Returns a list of email headers and delivery destination for each seed address delivered to for the given report id. This call is only available for campaigns that were processed with x-Header or HTML tag validation methods. These methods contain unique IDs that are used to retrieve data.

URL:

https://api.mailmonitorapp.com/mma/report/deliveryheader/${reportid}

HTTP Method(s):

GET

Path Parameter:

reportid integer --

The id of the campaign. The call returns delivery report information for this campaign.

Examples:

https://api.mailmonitorapp.com/mma/report/deliveryheader/12812

Response:

JSON delivery report object. Each delivery report object has the following fields:

    • emailHeader: raw header text

    • dateCreated: date email delivered

    • boxTypeID: 1 = inbox, 2=spam/bulk folder

    • campaignID: unique ID added by customer to header or html tag

    • ispName: user friendly ISP name of the seed address

    • seedAddress: Mail Monitor seed email address

JSON example response:

{

"emailHeader":"Return-Path: <bounce...",

"dateCreated":"2015-10-15",

"boxTypeID":"1",

"campaignID":"TestCampaign10252015",

"ispName":"Gmail",

"seedAddress":"test@gmail.com"

}