Skip to main content
POST
Export campaign results as CSV
The campaign must be enriched and its results must not have expired. Each request creates a fresh file and signed URL. Files always contain the standard DataLane column catalog, regardless of how the campaign was created. Omit maxContactsPerAccount for all contacts, set a positive cap, or use 0 for account-only rows. When hasMobilePhone and hasEmail are both true, the filters use OR semantics. See Export results for examples and download handling.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

campaignId
string
required
Pattern: ^camp_[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$
maxContactsPerAccount
integer

Contacts per account cap. Omit for all contacts; 0 produces one account-only row per account.

Required range: 0 <= x <= 9007199254740991
Examples:

3

0

hasMobilePhone
boolean

Include only contacts with a mobile phone. Combines with hasEmail as OR when both are true.

hasEmail
boolean

Include only contacts with an email address. Combines with hasMobilePhone as OR when both are true.

Response

Response for status 200

data
object
required
error
null
required