Create Export
POST /api/v1/workspaces/{workspace_id}/exports
Creates a new export.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Workspace ID
Request Body
Section titled “Request Body ”object
The ID of the Connector (e.g. ESP integration) to export to. Required when export_type is ‘connector’.
Example
1The ID of the Email to export.
Example
1The ID of the Dynamic Content Profile to use when rendering the export. If null, dynamic content is resolved with default values.
Example
1object
How images should be handled in the export.
Whether to minify rendered HTML before saving export output.
The ID of the folder to export to
The ID of the campaign to export to
Key-value pairs of connector-specific fields to include with the export.
object
Per-locale export options, keyed by locale code (e.g. “en-US”).
object
object
The name for the exported resource in the connector.
Whether to update a previously exported resource instead of creating a new one.
The ID of the CDN Connector to use for hosting images in the exported email. If null, default image URLs are used.
Example
1Responses
Section titled “ Responses ”Successful
object
Example
12345Example
12345Example
12345Example
12345Example
12345object
Example
12345Example
a8c5c5c0-5b1a-4b5a-9b0a-5e8b5c5c5c5cExample
in_progressExample
htmlobject
How images should be handled in the export.
Whether to minify rendered HTML before saving export output.
The ID of the folder to export to
The ID of the campaign to export to
Key-value pairs of connector-specific fields to include with the export.
object
Per-locale export options, keyed by locale code (e.g. “en-US”).
object
object
The name for the exported resource in the connector.
Whether to update a previously exported resource instead of creating a new one.
Example
Brevoobject
object
object
Example
2023-08-23T10:30:00.000ZExample
2023-08-23T10:30:00.000ZExample
https://www.example.com/download.zipExample
https://www.example.com/download.jsonExample
https://www.example.com/integrations/mailchimp/export/12345Unauthorized
object
Example
Record not foundForbidden
object
Example
Record not foundUnprocessable Entity
object
Example
Failed to saveobject
Example
{ "errors": { "username": [ "Username is required.", "Username must be unique." ], "email": [ "Invalid email format." ] }}