Design Studio emails
Get an email version
Returns a snapshot of the version's content including the code for any custom components referenced in the email (see dependencies for more).
get/v1/design_studio/emails/{id}/versions/{version_id}
Path parameters
idstring uuid required
The UUID of the email. If your email has translations, this is the ID of a specific language variant.
version_idstring uuid required
The UUID of the version.
Response
Successful response
Example response
{
"version": {
"id": "8f14e45f-ceea-4c67-9814-b8f0e0e1a6f0",
"node_id": "1a0cbb4e-09d3-402e-949e-f6732f021650",
"node_type": "EMAIL",
"name": "Before holiday redesign",
"created": 1773856017,
"created_on_publish": false,
"feedback": false
},
"node": {
"node_id": "1a0cbb4e-09d3-402e-949e-f6732f021650",
"node_type": "EMAIL",
"name": "Onboarding phase 1",
"content": "<x-base>...</x-base>",
"subject": "Welcome to Design Studio!",
"preheader_text": "Get started in minutes",
"envelope": {
"from_id": 1,
"from": "Customer.io <noreply@example.com>",
"reply_to_id": null,
"reply_to": "",
"bcc": "",
"fake_bcc": true,
"headers": [],
"recipient": "{{customer.email}}"
},
"transformers": {
"prevent_widows": {
"enabled": false
}
}
},
"dependencies": [
{
"node_id": "1abcbb4e-402e-949e-f6732f333",
"node_type": "COMPONENT",
"name": "Footer",
"component_name": "footer",
"content": "<script>...</script><template>...</template>"
}
]
}Changes
Changed in 1 of the 13 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○