
297 × 210 mm
Certificates
Course completion certificate
A landscape A4 certificate for training providers and online courses. It names the recipient, course, hours and completion date, prints two instructor signature lines from a list, and adds a certificate ID with a QR code for public verification inside a decorative SVG frame.
PDFA4 landscapeLocale en-USHTML + Jinja
Opens Dynamic Document API with this template preloaded in a free workspace.
Generating this from your own data? See the Certificate Generation API.
Template language features
- Loops
- Conditionals
- Filters
- QR code
- Date formatting
Filters such as format_currency and qrcode are described in the template language reference.
Variables
Derived from the sample data: 5 top-level fields, 20 paths in total. Send the same shape as data.
| Path | Type | Example |
|---|---|---|
| issuer | object | |
| issuer.name | string | "Aldermoor Institute of Applied Technology" |
| issuer.website | string | "aldermoor.example.org" |
| certificate | object | |
| certificate.id | string | "AMI-CSE-2026-04817" |
| certificate.completion_date | date | "2026-09-11" |
| certificate.verify_url | string | "https://verify.example.org/c/AMI-CSE-2026-0481…" |
| certificate.locale | string | "en-US" |
| recipient | object | |
| recipient.name | string | "Jordan A. Whitcombe" |
| course | object | |
| course.title | string | "Foundations of Cloud Security Engineering" |
| course.hours | number | 36 |
| course.delivery | string | "Live online cohort" |
| course.start_date | date | "2026-07-20" |
| course.modules | array<string> · 5 | "Identity and access" |
| course.distinction | boolean | true |
| signatories | array<object> · 2 | |
| signatories[].name | string | "Dr. Selene Oyelaran" |
| signatories[].title | string | "Lead Instructor" |
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": {
"issuer": {
"name": "Aldermoor Institute of Applied Technology",
"website": "aldermoor.example.org"
},
"certificate": {
"id": "AMI-CSE-2026-04817",
"completion_date": "2026-09-11",
"verify_url": "https://verify.example.org/c/AMI-CSE-2026-04817",
"locale": "en-US"
},
"recipient": {
"name": "Jordan A. Whitcombe"
},
"course": {
"title": "Foundations of Cloud Security Engineering",
"hours": 36,
"delivery": "Live online cohort",
"start_date": "2026-07-20",
"modules": [
"Identity and access",
"Network segmentation"
],
"distinction": true
},
"signatories": [
{
"name": "Dr. Selene Oyelaran",
"title": "Lead Instructor"
},
{
"name": "Marcus Feldhaus",
"title": "Director of Professional Programs"
}
]
},
"output": {
"format": "pdf",
"filename": "certificate-course-completion.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": {
"issuer": {
"name": "Aldermoor Institute of Applied Technology",
"website": "aldermoor.example.org"
},
"certificate": {
"id": "AMI-CSE-2026-04817",
"completion_date": "2026-09-11",
"verify_url": "https://verify.example.org/c/AMI-CSE-2026-04817",
"locale": "en-US"
},
"recipient": {
"name": "Jordan A. Whitcombe"
},
"course": {
"title": "Foundations of Cloud Security Engineering",
"hours": 36,
"delivery": "Live online cohort",
"start_date": "2026-07-20",
"modules": [
"Identity and access",
"Network segmentation"
],
"distinction": true
},
"signatories": [
{
"name": "Dr. Selene Oyelaran",
"title": "Lead Instructor"
},
{
"name": "Marcus Feldhaus",
"title": "Director of Professional Programs"
}
]
},
"output": {
"format": "pdf",
"filename": "certificate-course-completion.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": {
"issuer": {
"name": "Aldermoor Institute of Applied Technology",
"website": "aldermoor.example.org",
},
"certificate": {
"id": "AMI-CSE-2026-04817",
"completion_date": "2026-09-11",
"verify_url": "https://verify.example.org/c/AMI-CSE-2026-04817",
"locale": "en-US",
},
"recipient": {
"name": "Jordan A. Whitcombe",
},
"course": {
"title": "Foundations of Cloud Security Engineering",
"hours": 36,
"delivery": "Live online cohort",
"start_date": "2026-07-20",
"modules": ["Identity and access", "Network segmentation"],
"distinction": True,
},
"signatories": [
{
"name": "Dr. Selene Oyelaran",
"title": "Lead Instructor",
},
{
"name": "Marcus Feldhaus",
"title": "Director of Professional Programs",
},
],
},
"output": {
"format": "pdf",
"filename": "certificate-course-completion.pdf",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())