[Go to site: main page, start]

The PDF Generation API
that automates your documents

Design a template once, generate thousands of PDFs via API. Send JSON, get a pixel-perfect PDF back in seconds.

60 free PDFs/month. No credit card required.

Three steps to your first PDF

Design, integrate, generate. It takes minutes, not days.

1

Design your template

Use our drag-and-drop editor to build your layout. Add placeholders like {{name}} and {{total}} for dynamic data.

2

Call the API

Send a POST request with your template ID and JSON data. Use our SDK or any HTTP client — curl, fetch, requests, whatever you prefer.

3

Get your PDF

Receive the PDF as a download, a signed URL, or uploaded directly to your S3 bucket. Done in under 2 seconds.

One request. One PDF.

Send your template ID and JSON data. Get a PDF back in seconds.

Request
const result = await fetch(
  "https://api.templatefox.com/v1/pdf/generate",
  {
    method: "POST",
    headers: {
      "x-api-key": "sk_your_api_key",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      template_id: "your-template-id",
      data: {
        company: "Acme Corp",
        invoice_no: "INV-2025-001",
        items: [
          { name: "Widget Pro", qty: 3, price: 29.99 },
          { name: "Gadget Plus", qty: 1, price: 49.99 },
        ],
      },
    }),
  }
);
Response
{
  "status": "success",
  "pdf_url": "https://cdn.templatefox.com/signed/abc123...",
  "expires_at": "2025-01-15T12:00:00Z",
  "pages": 1,
  "generation_time_ms": 1200
}
Used by 100+ Developers

Companies generating PDFs in production.

Uptime 99.997% Last 90 days

Measured live on our public status page.

Rendered 100k+ PDFs generated

Growing every day on a scalable infrastructure.

Use cases

What can you generate?

One API for every document type. Design once, generate at scale.

Invoices & receipts

Auto-generate invoices on every payment. Pull data from Stripe, PayPal, or your database.

Certificates

Personalized certificates for course completions, awards, or events. One template, thousands of outputs.

Shipping labels

Generate labels with barcodes and QR codes for every order. Connect to Shopify, WooCommerce, or any platform.

Reports & contracts

Multi-page reports with charts, tables, and dynamic data. Auto-paginate with headers and footers.

QR code & barcode sheets

Bulk-generate sheets of scannable codes for inventory, events, or product labels.

Packing slips

Include line items, quantities, barcodes, and picking checkboxes. Generated on every order.

Flexible delivery

Get your PDFs how you want them

Download directly, share via URL, or upload to your storage. Every option on every plan.

Binary download

Get the PDF file directly in the API response. Ideal for server-side processing or immediate delivery.

Signed URL

Receive a time-limited download link. Share it with customers or store it in your database.

S3 upload

Upload directly to Amazon S3, Cloudflare R2, MinIO, or any S3-compatible storage. Zero extra steps.

Webhook callback

Get notified when your PDF is ready. Perfect for async workflows and background processing.

Use the language you love

Send simple HTTP requests or use native libraries for your language of choice.

npm install @templatefox/sdk
1// npm install @templatefox/sdk23import { TemplateFox } from "@templatefox/sdk";45const client = new TemplateFox({6  apiKey: "your-api-key",7});89const result = await client.pdf.generate({10  templateId: "your-template-id",11  data: {12    name: "John Doe",13    amount: "$1,500.00",14    date: "January 15, 2025",15  },16});1718console.log(result.pdfUrl);19// https://cdn.templatefox.com/...
Without writing a line of code

No-code integrations

Generate PDFs automatically with Zapier, Airtable, Make and other popular no-code platforms of your choice.

Need images instead of documents?

The same templates render to pixel-perfect PNG, JPEG, and WebP images too — social cards, certificates, badges, and email-ready graphics. One API, both formats.

Discover the Image Generation API

Want to see what templates can do?

Dynamic tables, conditional sections, QR codes, custom fonts, and more. Explore the template editor.

Discover the Template Editor

Frequently asked questions

Is there a limit to how many PDFs I can generate per minute?

Yes — each plan has a per-minute cap (10 on Free, up to 200 on Business; see the full table). Going over returns a clear error and your credits aren't touched, so a short pause clears it. For sustained higher throughput, reach out before launch.

Is the data I send through the API stored anywhere?

No. Your data is used to render the PDF and discarded as soon as the file is ready. The generated PDF is stored only when you pick signed URL or S3 upload delivery. We keep usage records for billing and support — never the document contents.

What if I need help building my first template?

Live support is included on every paid plan and we genuinely help customers structure their first invoice, contract, or certificate — not just point at docs. Drop us a line via in-app chat or email support@templatefox.com and you'll get an actual person, usually within a few hours.

How reliable is the service for production use?

We publish uptime live at status.templatefox.com — currently 99.997% over the last 90 days. PDFs are billed only on success, so a transient blip never costs you a credit, and any incident shows on the status page in real time.
Ready to use

API-ready templates

Each template works out of the box with the REST API. Send JSON data, get a PDF back. No setup required.

Professional Corporate Business Invoice

Professional Corporate Business Invoice

Clean Ecommerce Order Fulfillment Packing Slip

Clean Ecommerce Order Fulfillment Packing Slip

Printable Certificate of Achievement

Printable Certificate of Achievement

Itemized Sales Receipt Template

Itemized Sales Receipt Template

Shipping Label A4 with Tracking Barcode

Shipping Label A4 with Tracking Barcode

QR Code Sheet for Asset Tracking & URL Labels

QR Code Sheet for Asset Tracking & URL Labels

Automate your PDF generation

Complete documentation, no-code integrations, and a powerful API to help you generate PDFs at scale. Let us handle the boring stuff.