Get Export
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
Export ID
Responses
Section titled “Responses”Successful
object
object
One entry per exported locale. For connector exports, the resource created or overwritten in the connector.
object
A BCP 47 language tag identifying the language and region of a piece of content. Must carry both a language and a region subtag, and must be in canonical case (lowercase language, titlecase script, uppercase region) — en-GB, not en-gb or en_GB. The region may be a UN M.49 code, so en-001 (world) is valid.
The name of the output. For connector exports, the name of the resource in the connector. Null for a resource being overwritten until the export completes.
The ID of the resource in the connector. Null for html and json exports, and until a connector export completes.
A link to open the resource in the connector. Null for html and json exports, and until a connector export completes.
object
object
object
Set once an html export completes.
Set once a json export completes.
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", "image_mode": "use_cdn", "outputs": [ { "locale": "en-GB", "name": "Spring Sale (EN)", "external_id": "tpl_456", "url": "https://dashboard.braze.com/engagement/templates/tpl_456" } ], "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"}