Join the free beta — no credit card required
Platendoc
Document generation API

Generate PDFs from templates.

Design invoices, contracts, and reports in the visual editor. Send JSON data to the REST API to generate a PDF from the same template for each customer.

How it works

How the PDF generation API works

Business teams build templates visually. Developers trigger generation via API. Neither side blocks the other.

01 — Build

Design your template

Drag and drop blocks or write HTML directly. Insert dynamic variables with Liquid syntax. Preview with real data instantly.

02 — Save

Get a template ID

Save the template and copy its ID from the editor. Each generation uses the version saved when you send the request.

03 — Generate

Generate and download a PDF

Submit a template ID and JSON variables. Check the generation status or listen for a webhook, then download the completed PDF.

Features

Everything you need to generate documents

From visual template design to API-powered generation — Platendoc covers the full workflow.

Visual template builder

Design templates with a drag-and-drop editor. No design skills or coding required.

PDF generation API

Send JSON variables and a saved template ID to queue a PDF and track its status.

Dynamic variables

Inject any data into your templates using Liquid syntax. Client name, amounts, dates — all automatic.

Webhooks & events

Get notified when documents are generated. Trigger downstream workflows automatically.

Versioned templates

See which saved template version produced each invoice, contract, or report.

Generation analytics

Track usage, monitor generation history, and understand how your documents are used.

Developer-first API

One API call. One document.

Send a template ID and variables. The API returns a generation ID with HTTP 202. Use it to request the signed download URL when the PDF is ready.

  • HTTP requests with scoped API keys
  • Generation status and signed PDF downloads
  • Signed webhooks for completed or failed generations
See the invoice PDF API example
generate.sh
curl -X POST https://api.platendoc.com/v1/generations \
  -H "Authorization: Bearer $PLATENDOC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "tpl_01J9XZ4K8M2N3P5Q6R7",
    "format": "pdf",
    "variables": {
      "customer":       "Acme Corp",
      "invoice_number": "INV-1042",
      "amount":         "$2,840.00",
      "due_date":       "2024-11-30"
    }
  }'
202 Accepted
{
  "id": "gen_01J9XZ4K8M2N3P5Q6R7S8T9V",
  "status": "PENDING",
  "format": "PDF",
  "outputUrl": null
}
Free tier · No card required

Start generating
documents today.

50 free documents every month. No setup, no credit card.