POST GET exports/emailViews

Get views data across email campaigns. Date range cannot span more than 90 days.

* required

Parameters

Name Type Description
startDate * datetime Views after this date
endDate * datetime Veiws before this date
fields string Comma-separated list of fields to return. Available fields: id, emailID, parentEmailID, dateViewed, contactID, email
id, emailID, dateViewed, contactID, email

Response Data

Name Type Description
jobID integer ID of export job. Use to check the status of the job at /exports/jobStatus

Permissions

Method requires the Client Administrator permission

Example Calls

Views in past 30 days

GET
/exports/emailViews?startDate=2020-03-27&endDate=2020-04-27
cURL
Copy
Response Data

Report Columns

Name Type Description
id integer Unique ID of view record
emailID integer ID of email record
parentEmailID integer ID of parent email record
dateViewed datetime Date view was logged
contactID integer ID of contact record
email string Email address of contact record

Sample Report

"id"	"emailID"	"dateViewed"	"contactID"	"email"
"123456"	"123456"	"2013-02-10 05:05:00.0"	"26030519"	"john.doe@example.com"
"123457"	"123456"	"2013-02-10 05:06:00.0"	"26030520"	"jane.doe@example.com"

API Console

The console uses production data, so BE CAREFUL!
GET
exports/emailViews
Param Value Type Description
startDate * datetime Views after this date
endDate * datetime Veiws before this date
fields string Comma-separated list of fields to return. Available fields: id, emailID, parentEmailID, dateViewed, contactID, email
id, emailID, dateViewed, contactID, email
Access token: *