Skip to main content
POST
Generate PDF
Zero Data Retention Policy: PDFDyno operates purely in-memory. The JSON payload, the Typst template, and the generated PDF are instantly and permanently deleted from our servers the moment the HTTP response is sent. We do not store any of your data.

Authentication

This endpoint requires a Bearer token. Pass your API key in the Authorization header.

System Limits

  • Max Payload Size: 10 MB
  • Max Timeout: 10 seconds (Documents must compile within this time)
  • Rate Limit: 100 requests / minute (on Starter plan)
  • Typst Version: 0.11.0

Request Headers

string
required
Must be application/json.

Request Body

object
required
The JSON data object containing the dynamic variables you want to inject into your PDF. The backend automatically injects this data into your template as a #data variable.
string
required
The raw Typst markup template string. Use #data.field to access variables from your data.

Example Request

Response Headers

PDFDyno returns the following headers on every request to help you handle rate limits gracefully.
The number of requests remaining in the current one-minute window.
Returned on every request (and particularly with 429 Too Many Requests). A UNIX timestamp indicating when the rate limit window resets.

Response Body

Returns the raw PDF binary.