Cakemail icon

Cakemail

Interact with Cakemail API

Report → Create Campaign Export

AI-generated

Summary

Create a campaign export for specified campaigns in a chosen format.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • campaignIds (required) — Comma-separated list of campaign IDs to export (e.g., "123,456,789")
  • exportFormat (required) — Export file format (CSV or Excel).

Output shape

a confirmation of the export creation including export ID and status

The actual export might take some time to be processed; check the export status using the relevant report API.

Examples

Example 1: Export two campaigns in CSV format

Input two campaign IDs: "123,456" and set format to "csv".

Example 2: Export campaigns in Excel format

Input campaign IDs: "789,987" and set format to "xlsx".

Discussion