You can use the ReportExport
endpoint to schedule a job to export reports as a CSV file. The API call will return an object describing the initial job status, as well as a URI to poll for status updates, and a URI to download the job result file.
You can also use the Reports
endpoint to list all the available reports.
Endpoints | |
---|---|
GET | Agencies/:AccountSID/ReportExport |
GET | Agencies/:AccountSID/Reports |
Best Practices
There are some best practices to keep in mind when using the ReportExport
endpoint.
- First, use the
ReportExport
endpoint to download reports rather than running reports with the olderReports
endpoint, which will be deprecated in the future. - When downloading reports, it is preferable that you use multiple calls for smaller date ranges. Try to avoid single requests for large date ranges.