---
title: "Add export"
method: POST
path: "/3.0/account-exports"
tags: ["account-exports"]
---

# Add export

`POST /3.0/account-exports`

## Request

- Base URL: `https://api.mailchimp.com`
- URL: `https://api.mailchimp.com/3.0/account-exports`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://login.mailchimp.com/oauth2/authorize`
    - Token URL: `https://login.mailchimp.com/oauth2/token`
- TypeScript: <https://skmtc.dev/mailchimp/apis/mailchimp-api/docs/3.0/account-exports/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new account export in your Mailchimp account.

## Request body

- object: Creates an account export with the given parameters.
  - `include_stages` string[], required: The stages of an account export to include.
  - `since_timestamp` string, date-time: An ISO 8601 date that will limit the export to only records created after a given time. For instance, the reports stage will contain any campaign sent after the given timestamp. Audiences, however, are excluded from this limit.

## Response `200`

- object: An account export.
  - `_links` object[]: A list of link types and descriptions for the API schema documents.
    - `href` string: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
    - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD': The HTTP method that should be used when accessing the URL defined in 'href'.
    - `rel` string: As with an HTML 'rel' attribute, this describes the type of link.
    - `schema` string: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.
    - `targetSchema` string: For GETs, this is a URL representing the schema that the response should conform to.
  - `download_url` string: If the export is finished, the download URL for an export. URLs are only valid for 90 days after the export completes.
  - `export_id` integer: The ID for the export.
  - `finished` string, date-time: If finished, the finish time for the export.
  - `size_in_bytes` integer: The size of the uncompressed export in bytes.
  - `started` string, date-time: Start time for the export.

## Other responses

- `default`: An error generated by the Mailchimp API.

---

[API](https://skmtc.dev/mailchimp/apis/mailchimp-api.md) - [All operations](https://skmtc.dev/mailchimp/apis/mailchimp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailchimp/apis/mailchimp-api/revisions/53bf4b156855?raw)
