PDF Generator API

Document generation API for SaaS and enterprise

Secure and scalable PDF generator API

Build a template with AI or import a document you already use. Your app fills it with JSON through the API, and your customers edit it in a white label editor under your brand.

Free for 14 days in the Sandbox. Full API, 50 credits, no credit card.

Invoice template built by the AI template builder

A branded invoice with my logo, billing details, a line items table with VAT, totals on the right and a payment QR code.

  1. Read the template structure
  2. Add header with logo and invoice number
  3. Add billing and shipping blocks
  4. Add line items table with VAT
  5. Add totals and payment QR code
  6. Set sample data and validate

In this template

  1. 1E-invoice: XRechnung, Factur‑X
  2. 2Payment QR code
  3. 3Sign in the browser
Delivery note template built by the AI template builder

A delivery note with the route, sender and consignee, a table of pallets with weights, and a tracking barcode.

  1. Read the template structure
  2. Add header and delivery number
  3. Add route with three stops
  4. Add pallet table with weights
  5. Add tracking barcode
  6. Set sample data and validate

In this template

  1. 1Sign on delivery
  2. 2Tracking barcode
  3. 3Scannable QR code
Certificate template built by the AI template builder

A landscape certificate of completion with the course name, the learner name in a script font, a seal, two signatures and a verification ID.

  1. Read the template structure
  2. Set landscape page and border
  3. Add course and learner name
  4. Add seal and two signature lines
  5. Add verification ID
  6. Set sample data and validate

In this template

  1. 1One PDF per learner in a batch
  2. 2Signed with a trusted certificate
  3. 3Verification QR code
Monthly report template built by the AI template builder

A monthly performance report with four KPI tiles, a revenue chart for the last six months and a table of top customers.

  1. Read the template structure
  2. Add title and reporting period
  3. Add four KPI tiles
  4. Add revenue chart
  5. Add top customers table
  6. Set sample data and validate

In this template

  1. 1Accessible PDF/UA
  2. 2Watermark
  3. 3Encrypted PDF
Event ticket template built by the AI template builder

An event ticket with the event name, date and venue, the attendee name, seat and ticket type, and a QR code to scan at the door.

  1. Read the template structure
  2. Add event name, date and venue
  3. Add attendee and seat
  4. Add ticket type badge
  5. Add QR code
  6. Set sample data and validate

In this template

  1. 1Registration from a web form
  2. 2Scannable QR code
  3. 3Sent as a PDF or a link

Built by the AI template builder from one sentence. Every numbered feature runs on the same account.

1,500+
companies trust us

6M+
documents generated monthly

Information security

Trusted by teams featured in our case studies

How it works

How the PDF generation API works in three simple steps

From idea to shipped document. Build the template once, then send data whenever a document is due.



One request returns the PDF

One request with the template ID and your JSON, from an AI agent, your code or a workflow tool.

Start with the Developer guide, SDKs, a Postman collection and the JWT how to.

Without codeUse Make, n8n, Zapier, Odoo or the MCP server.

# Add the MCP server to Claude, Cursor or n8n
{
  "mcpServers": {
    "pdf-generator-api": {
      "url": "https://mcp.pdfgeneratorapi.com/mcp",
      "headers": { "Authorization": "Bearer <JWT>" }
    }
  }
}
# Then ask in plain language
Generate the November invoice for Mooc & Finn as a PDF
curl -X POST https://us1.pdfgeneratorapi.com/api/v4/documents/generate \
  -H "Authorization: Bearer $JWT" \
  -H "Content-Type: application/json" \
  -d '{
    "template": { "id": 104872, "data": { "invoice": { "number": "INV-2026-0931" } } },
    "format": "pdf",
    "output": "url"
  }'
const res = await fetch(
  "https://us1.pdfgeneratorapi.com/api/v4/documents/generate", {
    method: "POST",
    headers: { Authorization: `Bearer ${jwt}`,
               "Content-Type": "application/json" },
    body: JSON.stringify({
      template: { id: 104872, data: order },
      format: "pdf", output: "url" })
  });
const { response: url } = await res.json();
import requests
r = requests.post(
    "https://us1.pdfgeneratorapi.com/api/v4/documents/generate",
    headers={"Authorization": f"Bearer {jwt}"},
    json={
        "template": {"id": 104872, "data": order},
        "format": "pdf", "output": "url",
    })
url = r.json()["response"]

Six more services for your documents

Signing, forms, conversion, accessibility, e-invoices and PDF tools run on the same account and the same templates.

SpeedA one page invoice takes a median 0.97 s in our speed benchmark.

Partner program

PDF API partner program for platforms, ISVs and agencies

Partner through a revenue share, partner pricing or a white label deployment. We built the integrations below ourselves, and each one has its own page and tutorial.

Partners and integrations 20+ partners and integrations

See every integration →

Logos belong to their owners and show platforms with a PDF Generator API integration, not members of the partner program. SaaS and ERP vendors can also embed the white label editor with a workspace per customer.

Enterprise deployment

Dedicated deployment and on premises PDF generation

When a security review or a data residency rule decides where documents are made, run a single tenant instance in your region or install it yourself.

Shared cloud

Runs in the US and starts in minutes. Plans and credits are on the pricing page.

On premises

Installed in your own environment, behind your network and your keys. How on premises works

Dedicated instance

Single tenant, operated by us in the region you pick. HIPAA with a BAA is available here only.

Our customers know better

Don’t just take our word for it

We are extremely grateful that a number of local and global companies have chosen us as their service providers. Here is what they have to say about our service.

All case studies →

★★★★★

The drag and drop builder is the main reason we switched. Our designer can now build and adjust templates directly, without touching the code.

Andreas Seierup

Andreas Seierup
Head of Development & Marketing · Firmagave

Read the story →

★★★★★

It would be really hard without this for us to build the PDF documents our clients need. It has saved us hundreds, maybe thousands of hours.

Werner Stucky

Werner Stucky
CEO · Stubber

Read the story →

★★★★★

Everything in this document is generated with PDF Generator. It works seamlessly with our CRM and automation system. That was essential for us.

Gert-Jan Bert

Gert-Jan Bert
Founder · Gandeno

Read the story →

Questions

PDF generator API FAQ

Pricing, the free trial, hosting and what your customers can do themselves.

Help from a person when you need it

Our support team is there when you want to go through a template, an integration or a deployment with a person.

Help center · YouTube tutorials · LinkedIn

How much does PDF Generator API cost?
Billing is by credits. One credit is one document of 1 to 5 pages. Plans start at €8 a month for 50 credits on Creator, the embedded editor comes with Basic at €88 a month, and yearly billing is 17% cheaper. Dedicated and on premises deployments are priced per deployment. Every plan is on the pricing page.
Is there a free PDF generator API?
Every account starts as a 14 day Sandbox with the full API, 50 credits and no credit card. Templates and users carry over when you choose a plan on the pricing page. You can create a Sandbox account in about a minute.
Can my customers edit their own PDF templates?
Yes. Embed the white label template editor in your product and create a workspace for each customer through the API. Each customer edits their own copy, and you pay for documents, never for tenants. Paragon ERP, Veeqo and Katana work this way.
Can AI create a PDF template for me?
Yes. Describe the document or upload a PDF you already use, and the AI template builder lays out the structure, fields and sample data. You refine it in the editor, or start from one of the free example templates.
Can we run PDF Generator API on premises?
Yes. Choose a dedicated instance in Virginia, Frankfurt, London or Sydney, or install it on premises in your own environment. HIPAA with a BAA is available on dedicated deployments only.
Where is my data stored?
The shared cloud runs in the US. We never store the data you send or the documents we generate, only the template structure. For data residency in the EU, the UK or Australia, use a dedicated instance. We are ISO 27001:2022 certified, a DPA is ready to sign, and uptime and response times are in the SLA. Details are on the security and privacy page.
How does PDF Generator API compare with other PDF APIs?
It fits when your customers or your team keep changing the documents, because the editor can be embedded with a workspace per customer. For plain conversion a pure converter costs less. The comparison pages and our review of ten PDF generation APIs show prices and limits side by side.
Which industries use PDF Generator API?
How does the partner program work?
Platforms and agencies write us one email and get a partner ID. You can earn a recurring revenue share on the subscriptions you bring, buy at partner pricing and bill clients yourself, or run a white label deployment. The partner program page compares the three models.
Which integrations does PDF Generator API have?
There is a REST API with SDKs, plus modules for Make, n8n, Zapier, Bubble, Xano and Adalo. AI agents connect through the MCP server with 49 tools.
Can PDF Generator API create e-invoices?
Yes. Send the invoice JSON and choose Factur‑X, ZUGFeRD, XRechnung, UBL or CII on the EN 16931 profile. The API returns a validated file, for example a Factur-X PDF/A-3 with the XML embedded. See the E-invoice API.
Can it generate accessible PDF/UA documents?
Yes. Turn on the accessibility options to generate tagged PDF/UA documents for the European Accessibility Act, or send existing PDFs to the remediation endpoint. See PDF accessibility and compliance.

Sandbox

Try the PDF generator API with your own document

The Sandbox gives you the full API for 14 days. Paid plans start at €8 a month on the pricing page.