Skip to documentation
Dashboard
Audience and campaigns

Download a CSV export

Stream a ready, private export while rechecking workspace access and artifact validity.

GET/api/v1/exports/{exportId}/download
On this page

Authentication

Send a RouteKite API key as a Bearer token. This endpoint requires the audience:read or campaign:read for the export dataset scope.

Required headers
NameTypeRequirementDescription
AuthorizationstringRequired for API clientsBearer rk_ key with access to the exported dataset.

Path parameters

Path parameters
NameTypeRequirementDescription
exportIduuidRequiredExport identifier returned by export.create.

Response

Response fields
NameTypeRequirementDescription
CSVtext/csvReady exportUTF-8, quoted fields, spreadsheet formula protection, and report timestamps.

Authenticated download

Inspect export.get until the job is ready. Fetch its download_path with your Bearer API key, or open it in your authenticated dashboard session. No public signed link is issued. The CSV response is streamed in order and access is rechecked between parts.

Errors

StatusCodeWhat it meansWhat to do
403/404EXPORT_UNAVAILABLEThe export expired, was invalidated, or access was revoked.Check workspace access or create a fresh export.
503EXPORT_UNAVAILABLEStorage or authorization could not be checked.Retry while the artifact remains valid.