Skip to main content

PDF generation API

Generate PDFs from your app with a REST API

Issue API keys, POST JSON data to your template, and receive print-ready PDFs in response, the same layouts your team designs in the visual builder.

Why teams use Docuplate

  • Templates your team can edit

    Non-developers adjust layouts in the browser; engineers call the same template ID from production code.

  • Standard REST endpoints

    Generate PDFs with a POST request and JSON body mapped to your template fields, as documented in the integration guides.

  • Webhooks without API keys

    Need simpler automation? Webhooks and public forms work on every plan without server-side API integration.

  • Built for volume

    Pro and Business plans raise monthly PDF limits, team seats, and AI audit quotas for production workloads.

How it works

  1. Step 1

    Design and publish a template

    Create the document layout in the builder, map JSON field paths, and note the template ID from the URL.

  2. Step 2

    Create an API key

    Generate a key on Pro or Business and store it securely in your backend environment.

  3. Step 3

    Call the generate endpoint

    POST customer and line-item JSON; receive a PDF binary or download URL in the API response.

Common questions

Which plans include API keys?

REST API keys are available on Pro ($39/mo) and Business ($129/mo). Webhooks work on the free plan.

What format does the API expect?

JSON payloads matching your template field paths. The guides include curl, Node.js, and Python examples.

Can I preview before going live?

Yes. Use sample data in the builder to preview PDFs, then send the same JSON shape from your application.

Ready to try it?

Free plan includes starter templates and 50 PDF downloads per month.

Create free account