Skip to main content
POST
Export the campaign's leads to CSV

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Path Parameters

campaignId
string
required

The campaign's id (24-character hex ObjectId), as returned by POST /business/campaigns or as the campaignId of a GET /business/campaigns row.

Response

Success

csv
string
required

The whole CSV document, header row first. Empty string if the inner export produced no document.