How it works
- Start the export: Call this endpoint to initiate the export process. You’ll receive an
exportIdin the response. - Check status: Use the
exportIdwith the Get Campaign Export Status endpoint to periodically check the export status. - Download: Once the status is
"done", use the provided URL to download the CSV file.
The export is ID-based rather than campaign-based, allowing multiple simultaneous exports of the same campaign (e.g., one by a user in the application and another by a script).
Response
The response includes:- exportId: Use this to check the export status
- status: Will be
"pending"initially, then"done"or"error" - progress information: Track the export progress
Next steps
After starting an export, use the Get Campaign Export Status endpoint to monitor progress and retrieve the download URL when ready.Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The unique identifier of the campaign to export
Response
Export started successfully
The unique identifier of the export
The unique identifier of the export (same as _id)
The team identifier
The campaign identifier
The name of the campaign
Current status of the export
Available options:
pending, done, error When the export was started
Current progress index
Timestamp of progress
Duration of last step in milliseconds
Type of current progress step
Number of items processed
Total number of items to process