Export campaign stats to CSV
campaign_export_statsGenerate a CSV export of campaign performance. Returns a filename; the file is served from the CDN and also emailed to the account owner — so it leaves the conversation, which is worth mentioning before calling it. Performance numbers, not people: for a file of prospects use lead_export, and to read the numbers here instead use analytics_campaign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Date window as { from, to } — epoch milliseconds or ISO 8601. Omit for the backend default. | |
| campaignId | No | Campaign id, from `campaign_list` or `campaign_create`. |