Skip to content

Download an exported file

Request

Retrieve a previously generated export file by name. The file_name is returned as part of the export record once the job completes.

Security
bearerAuth
Bodyapplication/jsonrequired
file_namestringrequired

File name from the export record.

Example:"leads-export-2026-04-28.csv"
POST
/leads/api/file-exports/download
curl -i -X POST \
  https://leadgen.grinfi.io/leads/api/file-exports/download \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "file_name": "leads-export-2026-04-28.csv"
  }'

Responses

File contents (CSV).

Bodytext/csv
string, (binary)
Response
string