create_account_export
Initiate an export of Mailchimp account data by specifying categories such as lists, campaigns, reports, or ecommerce. Poll the export job until complete, then access the download URL.
Instructions
Start an account export job covering the requested categories of account data.
Use to request a downloadable archive of account data; poll get_account_export until the status is finished, then read download_url. Use list_account_exports to check existing exports before starting a new one.
Args: include_stages: List of stage names to include in the export (e.g. ['lists', 'campaigns', 'reports', 'ecommerce']). Each named category is added to the export archive.
Returns: JSON with export_id, status, started (ISO 8601), finished (ISO 8601 or null), size_in_bytes, download_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| include_stages | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |