Skip to main content
PDF Gorilla turns your HTML templates into PDFs over HTTP. You build a template in the dashboard, send JSON data with a single API call, and get a PDF back.

How it works

1

Create a template

In the dashboard, design your document with HTML and CSS. Use {{ placeholders }} where your data should appear.
2

Call the API

Send a POST request with your data. The API merges it into the template and produces the PDF.
3

Get your file

Sync: the response body is the PDF file right away. Async: you get a job ID, then poll or use a webhook when the file is ready.

Two ways to generate

ModeEndpointBest for
SyncPOST /api/v1/templates/{id}/generateOne PDF quickly, same request and response
AsyncPOST /api/v1/templates/{id}/generate-asyncBatch work, large documents, or webhook callbacks
All public routes use the prefix /api/v1. The full URL depends on your account; examples in this site use:
https://pdfgorilla.io/api/v1
Ask support if you are unsure which host to use for production.

Next steps

Quickstart

Create a template and download your first PDF.

Authentication

Create an API key and send it with each request.

Generate (sync)

Return a PDF in one HTTP response.

Generate (async)

Queue a job and fetch the result later.

Template guide

Liquid syntax, CSS, and page settings.

Limits

Request size, rate limits, and quotas.