Export campaign rows
GET
/campaigns /{id} /exportExport all rows of a campaign as a CSV file for offline analysis or reporting.
Path parameters
idstringrequiredID of the campaign, as returned by
GET /campaigns.
Request body
No body: send the request without one.
Response
200csvstringThe CSV file content: one line per contact with phone_number, the assistant's prompt variables, the extracted data fields, the call status and the calls' metadata keys.
filenamestringSuggested file name, derived from the campaign name (e.g. 'spring-promo-results.csv').
Errors
- 404Not found in your organization
{ "error": string }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.