Skip to Content
TemplateFox API

TemplateFox API

Generate PDFs programmatically via API.

Overview

TemplateFox is a PDF generation API that lets you create dynamic PDFs from templates. Design your template once in our visual editor, then generate personalized PDFs via API.

How it works

  1. Create a template in our visual editor
  2. Define variables for dynamic content (names, dates, amounts, etc.)
  3. Call the API with your data to generate a PDF
  4. Download the generated PDF or get a CDN URL

Use cases

  • Invoices - Generate invoices with customer data
  • Certificates - Create certificates with recipient names
  • Reports - Build reports with dynamic charts and data
  • Contracts - Generate contracts with filled-in fields
  • Labels - Create shipping labels or product labels

Authentication

All API requests require an API key. Include it in the x-api-key header:

curl -X POST https://api.pdftemplateapi.com/v1/pdf/create \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json"

Get your API key from the Dashboard .

Last updated on