Transactional emails report can be exported using API.
The URL: https://api.enginemailer.com/RESTAPI/Submission/Report/Export
Our REST API only accepts JSON object as a parameter list. Authentication parameter must be included within this list. Only one authentication parameter needed (UserKey).
Below is the example of the Request JSON object to deliver the email.
{
"UserKey": "your_userID_given_by_Enginemailer",
"Period": "1 Sep 2021 - 16 Sep 2021",
"EmailToFilter": "test@test.com",
"DomainFilter":"enginemailer.com"
}
Parameter name (Case-sensitive) |
Description |
Nullable? |
UserKey |
The User ID for the user. Please login to your Enginemailer account and check in the Profile. |
No |
Period |
The date range of the report. Start date can be as maximum as past 60 days. |
No |
EmailToFilter |
To filter the export result by email address. |
Yes |
DomainFilter |
To filter the export result by sender domain. |
Yes |
Below is the example of the response. Use the ExportID to check for the export status in here
{
"Result": {
"StatusCode": "200",
"Status": "OK",
"Message": "Success",
"Data": {
"ExportID": 9,
"Status": "Processing"
}
}
}