Skip to main content
GET
Export Contacts

Request

Returns a CSV file of contacts matching the query. Use for analytics exports, backups, or migrating data out of LeadLex. The response is streamed with Content-Type: text/csv; charset=utf-8.

Query Parameters

integer
default:"10000"
Maximum rows to return. Maximum 50,000 per request. For larger exports, paginate by created_after / created_before.
string
ISO 8601 lower bound on created_at.
string
ISO 8601 upper bound on created_at.
string
Filter by list membership.
string
Filter to contacts carrying the given tag. Repeat to require multiple tags.
string
Comma-separated list of fields to include. Defaults to the standard export set (id, full_name, email, phone, job_title, company_name, linkedin_url, tags, created_at).

Headers

Response

The body is a CSV document. Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Request-ID, and Content-Disposition: attachment; filename="contacts-export.csv". The first row is always the header.

Example Response

Errors