# Can I generate a PDF through the API?

> Yes. Version 1.1 of the REST API creates a PDF from a PDF Page for one record, or fills a PDF Form with values you send, and returns the file, a link or base64.

Source: https://tadabase.com/docs/faq/can-i-generate-a-pdf-through-the-api  
Status: Verified Nov 22, 2026. Checked against the current product

Yes. Version 1.1 of the REST API creates a PDF from one of your PDF Pages for a record, or fills one of your PDF Forms with the values you send. Turn on **Allow PDF Page** or **Allow PDF Form** on the API key; your plan must include API access and PDF Pages or PDF Forms.

## The requests

| To | Call |
| --- | --- |
| Make a PDF from a PDF Page | `POST https://api.tadabase.io/api/v1.1/{appId}/pdf-pages/{pdfPageId}/create/{recordId}` |
| Fill a PDF Form | `POST https://api.tadabase.io/api/v1.1/{appId}/pdf-forms/{pdfFormId}/create` with `mapping`: placeholder IDs and the values to write |

Without `format` you get JSON with the PDF as base64 in `fileData`. Add `?format=file` to get the PDF itself, or `?format=link` (PDF Pages only) to get a private link that works for one day. Build the PDF Page or upload the PDF Form in the builder first. Full reference: [Generate PDFs through the API](https://tadabase.com/docs/developers/pdf-generation-api).
