You can export transactional email reports using API. Once you've initiated the export using this method, it will undergo a processing phase which may take some time to complete.
Check Export Status
Go to https://api.enginemailer.com/RESTAPI/V2/Submission/Report/CheckExport and use the ExportID that you received from the Export method to check the status.
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.
{
"ID": 9
}
Parameter name (Case-sensitive) |
Description |
Nullable? |
ID |
The Export ID resulted from export method. |
No |
Below is an example of the response. If the export is still processing, it will display a "Processing" status.
{
"Result": {
"StatusCode": "200",
"Status": "OK",
"Message": "Success",
"Data": {
"ExportID": 9,
"Status": "Processing"
}
}
}
If the export is complete, it will display a "Complete" status and the URL to download the file.
{
"Result": {
"StatusCode": "200",
"Status": "OK",
"Message": "Success",
"Data": {
"ExportID": 9,
"Status": "Complete",
"URL": "https://enginemailerblob.blob.core.windows.net/files/XXXXXXXXXXXXXXXXX/21_10_2021_11_00_48.csv"
}
}
}