You can export transactional email reports using API at this link:
https://api.enginemailer.com/RESTAPI/V2/Submission/Report/Export
Please note that our REST API only accepts JSON object as a parameter list. To ensure proper authentication, you should include only one authentication parameter (APIKey) within the header.
Sample Request and Response
Below is an example of the Request JSON object to deliver the email.
{
"Period": "1 Sep 2021 - 16 Sep 2021",
"EmailToFilter": "test@test.com",
"DomainFilter":"enginemailer.com"
}
Parameter name (Case-sensitive) |
Description |
Nullable? |
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 an 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"
}
}
}