
600 × 200 px
Email headers
Newsletter email header
A 600 × 200 header image for a monthly newsletter: newsletter name, a headline that shrinks to fit two lines, the issue number and date and the sender, on a brand colour with leaf artwork. Render it at scale 2 for sharp text on high-density screens.
PNG600 × 200 pxLocale en-GBCanvas
Opens Dynamic Document API with this template preloaded in a free workspace, in the canvas editor.
Features
- Text that fits its box
How image templates are built is described in the canvas editor guide.
Dynamic properties
4 properties a render can set, sent flat in data. A property you leave out keeps its designed value.
| Key | Type | Example |
|---|---|---|
| kicker.textNewsletter name · up to 32 characters | string | "THE POTTING BENCH" |
| headline.textHeadline · up to 80 characters, longer text is shortened | string | "Autumn bulbs are in: plant now for spring colo…" |
| issue.textIssue and date · up to 48 characters | string | "Issue 42 · October 2026" |
| brand.textSender · up to 48 characters | string | "Juniper Row Nurseries" |
Render it with the API
After adding the template to your workspace, render it by ID and pass your data.
curl -X POST https://api-eu.dynamicdocumentapi.com/v1/renders \
-H "Authorization: Bearer $DYNAMIC_DOCUMENT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"kicker.text": "THE POTTING BENCH",
"headline.text": "Autumn bulbs are in: plant now for spring colour",
"issue.text": "Issue 42 · October 2026",
"brand.text": "Juniper Row Nurseries"
},
"output": {
"format": "png",
"filename": "newsletter-email-header.png"
}
}'const response = await fetch("https://api-eu.dynamicdocumentapi.com/v1/renders", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.DYNAMIC_DOCUMENT_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"kicker.text": "THE POTTING BENCH",
"headline.text": "Autumn bulbs are in: plant now for spring colour",
"issue.text": "Issue 42 · October 2026",
"brand.text": "Juniper Row Nurseries"
},
"output": {
"format": "png",
"filename": "newsletter-email-header.png"
}
}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const result = await response.json();
console.log(result);import os
import uuid
import requests
response = requests.post(
"https://api-eu.dynamicdocumentapi.com/v1/renders",
headers={
"Authorization": f"Bearer {os.environ['DYNAMIC_DOCUMENT_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C",
},
"data": {
"kicker.text": "THE POTTING BENCH",
"headline.text": "Autumn bulbs are in: plant now for spring colour",
"issue.text": "Issue 42 · October 2026",
"brand.text": "Juniper Row Nurseries",
},
"output": {
"format": "png",
"filename": "newsletter-email-header.png",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())