Create a lead export
Start the same lead export the application makes from the Leads page: a CSV or XLSX file of every lead matching the search, built in the background and listed on the application's Exports page.
The body takes the lead list's search parameters - campaign, start_date, end_date (whole days, YYYY-MM-DD), timezone, status, supplier, supplier_outcome, buyer, buyer_outcome, where, test, return, repost - plus the file's format, an optional columns list, and the Exports page's name, description and notify list. The response is the export row with status queued; poll GET /v2/leads/exports/{export} until it is finished, then follow download_url. The link is valid for seven days.
Requires the export permission - an owner always has it, a team member only when granted - and a token that can write.
Request
- Base URL: https://api.leadprosper.io/public
- URL: https://api.leadprosper.io/public/v2/leads/exports
- Auth: one of:
- HTTP bearer
- API key in query parameter api_token
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.