v1.0.0
OpenAPI 3.1.0
Render an email
Client Libraries
US region
Returns email-ready HTML. Use this endpoint to inspect your compiled markup.
Liquid tags are left intact—{{customer.first_name}} stays in the output as written. To evaluate liquid against real profile data instead, use Preview an email.
The render, preview, review, link, and publish endpoints share a rate limit of 5 requests per second per workspace.
The UUID of the email. If your email has translations, this is the ID of a specific language variant.
curl https://api.customer.io/v1/design_studio/emails/123e4567-e89b-12d3-a456-426614174000/render
{
"html": "<!doctype html>\n<html lang=\"und\">...\n<p>{{customer.first_name}}, welcome!</p>\n...\n</html>",
"node_id": "1a0cbb4e-09d3-402e-949e-f6732f021650",
"node_type": "EMAIL",
"text": "<html><head></head><body style=\"margin:0\"><div style=\"font-size:16px;line-height:1.5;font-family:Arial,Helvetica,sans-serif;white-space:pre-wrap;padding:10px;\">{{customer.first_name}}, welcome!</div></body></html>"
}Successful response