Follow this no-bullshit guide to generate your first PDF using the PDFDyno API.
1. Get your API Key
To authenticate your requests, you need an API key.
Grab your free API key from the PDFDyno Dashboard. No credit card required.
Your API key will look like this: sk_live_12345abcdef...
2. Make your first request
Our API expects a JSON payload containing two things:
data: The JSON data you want to inject into your PDF.
template: The raw Typst markup string.
Important: The response body is raw PDF bytes with Content-Type: application/pdf. Do not call response.json() in your code, or it will crash. Use .arrayBuffer() instead.
3. Done.
Open result.pdf on your machine. Itβs that simple.
Next, head over to our Template Gallery to grab ready-to-use templates for invoices, tickets, and certificates.