Export campaign rows
client.campaigns.exportRows(stringid, RequestOptionsoptions?): CampaignExportRowsResponse { csv, filename }
GET/campaigns/{id}/export
Export all rows of a campaign as a CSV file for offline analysis or reporting.
Parameters
id: string
Returns
Export campaign rows
import Revox from '@revoxai/sdk';
const client = new Revox({
apiKey: process.env['REVOX_API_KEY'], // This is the default and can be omitted
});
const response = await client.campaigns.exportRows('id');
console.log(response.csv);{
"csv": "csv",
"filename": "filename"
}Returns Examples
{
"csv": "csv",
"filename": "filename"
}