PDF API · PDF API for SaaS

Ship PDF invoices, reports and exports in your SaaS — without a PDF stack.

Your customers ask for invoices, usage reports, renewal notices and “export to PDF”. Keep the templates in PixlDocs, call one endpoint from your backend, and stop maintaining headless Chrome.

Opens a real a usage report with sample data — edit a field and download the PDF. No account or card for the example. PixlDocs is free for 1 year.

Real output

  • Usage report rendered by the PixlDocs API

    Usage report

  • Renewal notice rendered by the PixlDocs API

    Renewal notice

  • Subscription invoice rendered by the PixlDocs API

    Subscription invoice

Rendered through the production pipeline from published templates with sample data.

The request

POST /v1/render

bash
curl -X POST https://api.pixldocs.com/v1/render \
  -H "Authorization: Bearer pxd_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: inv-2026-09-acme" \
  --output invoice.pdf \
  -d '{
    "template_id": "YOUR_TEMPLATE_ID",
    "format": "pdf",
    "data": { "customerName": "Acme Corp", "plan": "Growth", "total": 4900 }
  }'

Replace pxd_YOUR_KEY with a key from your dashboard. The response body is the file.

Per-customer branding
Logo, colours and copy as data fields.
Versioned templates
Publish changes without redeploying your app.
Idempotent requests
Safe retries with idempotency keys.
Webhooks
Signed callbacks when batch renders finish.

Questions

Why not run Puppeteer ourselves?

You can. PixlDocs removes the browser fleet, font handling and pagination edge cases from your codebase. See the Puppeteer alternative page for the trade-offs.

Can templates differ per customer?

Yes — either one template with branding fields, or separate templates per customer.

Is it free?

Yes. PixlDocs is free for 1 year from 3 October 2026 while we work with early users. You can try a real example with no account; a free account starts with 100 credits, and you can ask us for more free credits when you run out.

Try it on sample data, then bring your own document.

Start with the free example. If your document or data source is different, send us one sample and tell us where the data lives — we set up the first template with you, free. Business and enterprise teams can contact us separately.