Export a lead list as CSV
Download a list as CSV.
GET/api/v1/lead-lists/{id}/export
Returns a CSV file (text/csv), not the JSON envelope. Save the response body as it is.
Parameters
Path
| Name | In | Description |
|---|---|---|
idrequired | path | The record's id. |
Example
curl
curl -X GET "https://crm.ashwanth.dev/api/v1/lead-lists/{id}/export" \
-H "Authorization: Bearer $SALES_ENGINE_API_KEY"CLI
sales-engine lead-lists export <id>Response
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.
Path
requiredThe record's id.
Request
GET /api/v1/lead-lists/%7Bid%7D/export
Fill the path first.