Export leads as CSV
Download leads as CSV.
GET/api/v1/leads/export
Returns a CSV file (text/csv), not the JSON envelope. Save the response body as it is.
Parameters
This call takes no parameters.
Example
curl
curl -X GET "https://crm.ashwanth.dev/api/v1/leads/export" \
-H "Authorization: Bearer $SALES_ENGINE_API_KEY"CLI
sales-engine leads exportResponse
A 200 with the CSV in the body and Content-Disposition: attachment.
Try it
Runs against this server, as the workspace behind the key. Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Request
GET /api/v1/leads/export