
105 × 148 mm
Tickets & passes
Conference attendee pass
An A6 conference badge with the attendee's name, company and a role pill coloured for speakers, attendees, sponsors or staff, a per-day access list, the speaker's session details, a Wi-Fi hint and a check-in QR code.
PDFA6 portraitLocale en-USHTML + Jinja
Opens Dynamic Document API with this template preloaded in a free workspace.
Template language features
- Loops
- Conditionals
- Macros
- Filters
- Date formatting
- QR code
Filters such as format_currency and qrcode are described in the template language reference.
Variables
Derived from the sample data: 3 top-level fields, 29 paths in total. Send the same shape as data.
| Path | Type | Example |
|---|---|---|
| conference | object | |
| conference.name | string | "Driftline Summit" |
| conference.edition | string | "2026" |
| conference.tagline | string | "Applied data engineering" |
| conference.venue | string | "Halvorsen Convention Center" |
| conference.city | string | "Minneapolis, MN" |
| conference.timezone | string | "America/Chicago" |
| conference.website | string | "driftline.example.org" |
| conference.days | array<object> · 3 | |
| conference.days[].date | date | "2026-10-06" |
| conference.days[].label | string | "Hands-on workshops" |
| conference.days[].location | string | "Level 2 labs" |
| attendee | object | |
| attendee.first_name | string | "Rosalind" |
| attendee.last_name | string | "Achebe-Toft" |
| attendee.pronouns | string | "she/her" |
| attendee.job_title | string | "Principal Data Engineer" |
| attendee.company | string | "Tern Harbor Analytics" |
| attendee.role | string | "speaker" |
| attendee.badge_id | string | "DLS26-S-0419" |
| attendee.access_days | array<date> · 2 | "2026-10-07" |
| attendee.check_in_code | string | "https://checkin.example.org/dls26/S-0419?k=KX7…" |
| attendee.session | object | |
| attendee.session.title | string | "Backfills without tears: replaying five years …" |
| attendee.session.starts_at | date | "2026-10-07T10:40:00-05:00" |
| attendee.session.room | string | "Room 204" |
| wifi | object | |
| wifi.network | string | "Driftline-Guest" |
| wifi.password | string | "tidepool-2026" |
Render it with the API
After adding the template to your workspace, render it by ID and pass your data. Arrays are shortened here.
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": {
"conference": {
"name": "Driftline Summit",
"edition": "2026",
"tagline": "Applied data engineering",
"venue": "Halvorsen Convention Center",
"city": "Minneapolis, MN",
"timezone": "America/Chicago",
"website": "driftline.example.org",
"days": [
{
"date": "2026-10-06",
"label": "Hands-on workshops",
"location": "Level 2 labs"
},
{
"date": "2026-10-07",
"label": "Keynotes and talks",
"location": "Hall B"
}
]
},
"attendee": {
"first_name": "Rosalind",
"last_name": "Achebe-Toft",
"pronouns": "she/her",
"job_title": "Principal Data Engineer",
"company": "Tern Harbor Analytics",
"role": "speaker",
"badge_id": "DLS26-S-0419",
"access_days": [
"2026-10-07",
"2026-10-08"
],
"check_in_code": "https://checkin.example.org/dls26/S-0419?k=KX7P2",
"session": {
"title": "Backfills without tears: replaying five years of events",
"starts_at": "2026-10-07T10:40:00-05:00",
"room": "Room 204"
}
},
"wifi": {
"network": "Driftline-Guest",
"password": "tidepool-2026"
}
},
"output": {
"format": "pdf",
"filename": "ticket-conference-pass.pdf"
}
}'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": {
"conference": {
"name": "Driftline Summit",
"edition": "2026",
"tagline": "Applied data engineering",
"venue": "Halvorsen Convention Center",
"city": "Minneapolis, MN",
"timezone": "America/Chicago",
"website": "driftline.example.org",
"days": [
{
"date": "2026-10-06",
"label": "Hands-on workshops",
"location": "Level 2 labs"
},
{
"date": "2026-10-07",
"label": "Keynotes and talks",
"location": "Hall B"
}
]
},
"attendee": {
"first_name": "Rosalind",
"last_name": "Achebe-Toft",
"pronouns": "she/her",
"job_title": "Principal Data Engineer",
"company": "Tern Harbor Analytics",
"role": "speaker",
"badge_id": "DLS26-S-0419",
"access_days": [
"2026-10-07",
"2026-10-08"
],
"check_in_code": "https://checkin.example.org/dls26/S-0419?k=KX7P2",
"session": {
"title": "Backfills without tears: replaying five years of events",
"starts_at": "2026-10-07T10:40:00-05:00",
"room": "Room 204"
}
},
"wifi": {
"network": "Driftline-Guest",
"password": "tidepool-2026"
}
},
"output": {
"format": "pdf",
"filename": "ticket-conference-pass.pdf"
}
}),
});
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": {
"conference": {
"name": "Driftline Summit",
"edition": "2026",
"tagline": "Applied data engineering",
"venue": "Halvorsen Convention Center",
"city": "Minneapolis, MN",
"timezone": "America/Chicago",
"website": "driftline.example.org",
"days": [
{
"date": "2026-10-06",
"label": "Hands-on workshops",
"location": "Level 2 labs",
},
{
"date": "2026-10-07",
"label": "Keynotes and talks",
"location": "Hall B",
},
],
},
"attendee": {
"first_name": "Rosalind",
"last_name": "Achebe-Toft",
"pronouns": "she/her",
"job_title": "Principal Data Engineer",
"company": "Tern Harbor Analytics",
"role": "speaker",
"badge_id": "DLS26-S-0419",
"access_days": ["2026-10-07", "2026-10-08"],
"check_in_code": "https://checkin.example.org/dls26/S-0419?k=KX7P2",
"session": {
"title": "Backfills without tears: replaying five years of events",
"starts_at": "2026-10-07T10:40:00-05:00",
"room": "Room 204",
},
},
"wifi": {
"network": "Driftline-Guest",
"password": "tidepool-2026",
},
},
"output": {
"format": "pdf",
"filename": "ticket-conference-pass.pdf",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())