Every template here is reachable through the API, so you can generate the same document from your own data.
curl -X POST https://pdfgeny.com/api/v1/render \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"template":"event-ticket","data":{"event": "Northwind Summit 2026", "date": "14 October 2026 · doors 18:00", "venue": "Albert Hall, Manchester", "holder": "Priya Nair", "seat": "Balcony · Row C · Seat 14", "ticket_type": "General admission"}}' \
--output event-ticket.pdf
import requests
pdf = requests.post(
"https://pdfgeny.com/api/v1/render",
headers={"Authorization": f"Bearer {KEY}"},
json={"template": "event-ticket", "data": {'event': 'Northwind Summit 2026',
'date': '14 October 2026 · doors 18:00',
'venue': 'Albert Hall, Manchester',
'holder': 'Priya Nair',
'seat': 'Balcony · Row C · Seat 14',
'ticket_type': 'General admission'}},
).content
open("event-ticket.pdf", "wb").write(pdf)
const res = await fetch("https://pdfgeny.com/api/v1/render", {
method: "POST",
headers: { Authorization: `Bearer ${KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ template: "event-ticket", data: {"event": "Northwind Summit 2026", "date": "14 October 2026 · doors 18:00", "venue": "Albert Hall, Manchester", "holder": "Priya Nair", "seat": "Balcony · Row C · Seat 14", "ticket_type": "General admission"} }),
});
await writeFile("event-ticket.pdf", Buffer.from(await res.arrayBuffer()));