Summary

REST API Method: summary

Returns an array of preview summary objects from the last 7 days

URL:

https://api.mailmonitorapp.com/mma/preview/summary

HTTP Method(s):

GET

Query String Parameters:

dateFilter integer -

number of days for which to fetch data. If days = 5, fetch data for past 5 days.

Examples:

https://api.mailmonitorapp.com/mma/preview/summary
https://api.mailmonitorapp.com/mma/preview/summary?dateFilter=5

Response:

JSON array of campaign summary objects. Each campaign summary object has a report id that can be extracted and used to access more detailed reports. Each campaign summary object has the following fields:

    • emailID: ID of email test

    • emailFrom: from header in email

    • emailSubject: subject header in email

    • dateReceived: date when test was received

    • screenshotsCapturedCount: number of screenshots created

JSON example response (truncated):

[
{

"emailID":99515,

"emailFrom":"sender@example.com",

"emailSubject":"Daily Deal for Wed",

"dateReceived":"2013-1-23",

"screenshotsCapturedCount":16,

},

...

]