Get Export
GET
/api/v1/workspaces/{workspace_id}/exports/{id}
const url = 'https://example.com/%7B%7Bapp_url%7D/api/v1/workspaces/1/exports/1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/%7B%7Bapp_url%7D/api/v1/workspaces/1/exports/1 \ --header 'Authorization: Bearer <token>'Retrieves an export.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workspace_id
required
integer
Workspace ID
id
required
integer
Export ID
Responses
Section titled “Responses”Successful
Media typeapplication/json
object
id
required
integer
organization_id
required
integer
connector_id
required
integer
cdn_connector_id
required
integer
email_id
required
integer
email
required
object
id
integer
name
string
dynamic_content_profile_id
required
string
status
required
string
export_type
required
string
options
required
object
image_mode
How images should be handled in the export.
string
minify_html
Whether to minify rendered HTML before saving export output.
boolean
locales
required
Array<string>
folder_id
The ID of the folder to export to
string
campaign_id
The ID of the campaign to export to
string
export_field_values
Key-value pairs of connector-specific fields to include with the export.
object
key
additional properties
string
per_locale_options
Per-locale export options, keyed by locale code (e.g. “en-US”).
object
key
additional properties
object
resource_name
The name for the exported resource in the connector.
string
update_previous_export
Whether to update a previously exported resource instead of creating a new one.
boolean
integration_name
required
string
metadata
required
object
conditional_ids
Array<integer>
personalization_tag_ids
Array<integer>
image_ids
Array<integer>
export_errors
required
object
base
Array<string>
additionalProperties
object
key
additional properties
Array<string>
created_at
required
string format: date-time
updated_at
required
string format: date-time
download_zip_url
string
download_json_url
required
string
open_in_integration_url
required
string
Example
{ "id": 12345, "organization_id": 12345, "connector_id": 12345, "cdn_connector_id": 12345, "email_id": 12345, "email": { "id": 12345 }, "dynamic_content_profile_id": "a8c5c5c0-5b1a-4b5a-9b0a-5e8b5c5c5c5c", "status": "in_progress", "export_type": "json", "options": { "image_mode": "use_cdn", "locales": [ "ar-SA" ] }, "integration_name": "Brevo", "metadata": { "conditional_ids": [ 12345 ], "personalization_tag_ids": [ 12345 ], "image_ids": [ 12345 ] }, "export_errors": { "base": [ "My Error" ], "additionalProperties": { "additionalProperty": [ "My Error" ] } }, "created_at": "2023-08-23T10:30:00.000Z", "updated_at": "2023-08-23T10:30:00.000Z", "download_zip_url": "https://www.example.com/download.zip", "download_json_url": "https://www.example.com/download.json", "open_in_integration_url": "https://www.example.com/integrations/mailchimp/export/12345"}