You can schedule a job to export reports as a CSV file, using the ReportExport
endpoint. The API call will return an object describing the initial job status, a URI to poll for status updates, and a URI to download the job result file. You can check the status of a job using the Jobs endpoint.
Note:
After 2 October 2023, any requests made to the /Reports API endpoint that specify a page size other than 20,000 will return a page size of exactly 20,000 records. If any of your integrations with the /Reports API specifies a page size less than 20,000, we recommend either of the following updates:
- Specify a
PageSize
of 20,000.- Remove the
PageSize
parameter from the request altogether.