> ## Documentation Index
> Fetch the complete documentation index at: https://developers.activeprospect.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exports

An export is a background job that produces a CSV of lead events for a time range and a selection
of fields, optionally filtered by rules. Create one with `POST /exports`, poll `GET /exports/{id}`
until its `status` is `complete`, then call `GET /exports/{id}/file` for a download link. The
link is valid for ten seconds, so request it right before downloading.

Exports stay available until their `expires_at`. The addresses listed in `email_to` are notified
when the file is ready.
