> For the complete documentation index, see [llms.txt](https://integrations.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.impact.com/brand-api-reference/brand-api-reference-v11/reference/deferred-response-overview/schedule-reports-with-reportexport-and-clickexport.md).

# Schedule reports with ReportExport and ClickExport

This guide explains the workflow for using the [ReportExport](/brand-api-reference/brand-api-reference-v11/reference/report-export.md) and [ClickExport](broken://pages/f751992568eb797f8ced1dde3bcc1ba3fa3a8191#get-a-dvertisers-accountsid-programs-programid-clickexport) endpoints and how to make the best use of [Replay](broken://pages/0ea3e7f1a20911fb0d2b06ed3946cb0c6551511f#put-a-dvertisers-accountsid-jobs-jobid-replay), the report caching feature.

`ReportExport` and `ClickExport` allow you to schedule a report to be generated in the background. This is an asynchronous process, meaning that the API doesn’t return the report file immediately.

Note: Read the best practices for exporting reports and exporting clicks to learn more.

### How to get your report

1. Request the report by making a GET call to [ReportExport](broken://pages/9db0e76a1666bc98655aeeacdff5524a3265a57f) or [ClickExport](broken://pages/f751992568eb797f8ced1dde3bcc1ba3fa3a8191#get-a-dvertisers-accountsid-programs-programid-clickexport) with all your required report parameters, like dates and filters. The API will respond with job details, including a job ID and a download URI.
2. Periodically check the job status by checking the [Jobs](/brand-api-reference/brand-api-reference-v11/reference/jobs.md) endpoint using the job ID. Wait for the job Status to change from `QUEUED` or `RUNNING` to `COMPLETED`. Alternatively, make use of a postback (webhook) notification, which will alert you when the job status changes to `COMPLETED`.
3. Download the report file once the status is `COMPLETED`, using the download URI provided in the initial response.

### Cache reports with Replay

If you make a request to `ReportExport` or `ClickExport` with the exact same parameters as a previous request, a new report will not be generated. Instead, the impact.com API will recognize the duplicate request and return the job details for the already existing report.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://integrations.impact.com/brand-api-reference/brand-api-reference-v11/reference/deferred-response-overview/schedule-reports-with-reportexport-and-clickexport.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
