Download Campaign Report
This API downloads campaign reports for any specific date range. You can fetch reports for one-time and periodic campaigns.
Limits
- Expiry: The generated reports will expire in 7 days from the date of creation.
- Max Range: You can generate reports for up to 90 days.
Generating the Signature
A unique signature must be passed in the headers to verify the caller’s authenticity. The signature isSHA256(Api_ID + "|" + FILENAME + "|" + SECRET_KEY).
Headers
A custom signature generated by SHA256(Api_ID + "|" + FILENAME + "|" + SECRET_KEY).
Path Parameters
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
The name of the report file to download. It is a combination of report name, generation date, and file format.
Example: Report_test_20210217.zip
Response
Successful API request automatically downloads the report file.
The response is of type file.