Using dashboard
- Go to Reports in the top bar
- Choose the type of report to generate
- Follow the creation steps
- Check the report’s executions in “Generated” tab
- Download report
Using API
1. Create a report
Use thePOST {url}/reports/ API to create a report.
2. Check report’s executions (optional)
Next, list all the executions for a report can be done.3. Generate report’s execution URL
To download the file for an execution, check the status of the execution issucceeded, and
then request the download URL.
url until it expires at expires_at.
Webhooks & error handling
When a report is generated, it triggers areport-execution.succeeded webhook event.
If the generation fails for some reason, a report-execution.failed is sent. This event is triggered when
a report fails to generate due to an unexpected internal technical issue. The report generation is not retried, and instead, the following steps to resolve the issue are recommended.
- One-off reports: A new one-off report must be created.
- Scheduled reports: As the report does not run for the failed period, creating a new one-off report for the same period to download the data is recommended.