Start a Lead CSV export

Start a CSV export of this company's Leads and return the export record. The export runs in the background: a BigQuery query job plus an extract job routinely takes longer than a request can wait. Poll GET /api/lead_export/ until it returns a 'url'. Rows are read from the BigQuery mirror of Spanner, which lags writes, so a Lead created moments ago may not be included — narrow with 'since' and treat freshness as best-effort. Columns are the standard Lead fields plus every property registered via /api/custom_property.

Body Params

Filters for a Lead CSV export. Every field is optional; an empty body
exports the company's Leads unfiltered.

object | null
Defaults to null

only export Leads whose custom properties equal these values, e.g. {'urgency': 'high'}. Several are ANDed. Each name must be registered via /api/custom_property.

enum

only export Leads with this lead_source

≥ 1

maximum rows to export

only export Leads created after this ISO-8601 timestamp

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json