API Playground

Try the API in your browser

Paste your API key, build a request, and run /api/v1/generate live — no Postman required.

Used only in your browser for these test calls — never stored on our servers.

SOURCE
HTML
DATA (JSON)
FORMAT
RESPONSE
FILE NAME
RESPONSE
Send a request to see the response here.
EQUIVALENT cURL
curl -X POST https://pdfgen.com/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"export_type": "url",
"format": "A4",
"html": "<h1>Hello {{name}}</h1>\n<ul>{{#each items}}<li>{{this}}</li>{{/each}}</ul>",
"data": {
"name": "Acme",
"items": [
"A",
"B"
]
}
}'

Full parameter reference lives in the API docs.