PDF Generator API

Generate the Document, Then Sign It, in One API

Most embedded-signing tools expect a finished PDF, or ask you to rebuild your document as a static template in their editor. PDF Generator API starts earlier: merge your data and templates into a finished, branded PDF, then open that same document in a guided review-and-sign flow. One platform takes you from raw data to a signed, audited document that is sealed with a trusted certificate, timestamped and verifiable by anyone.

Test, build, and integrate. Start your 14-day FREE trial. No credit card required!

PDF Generator API on Capterra
PDF Generator API on SoftwareAdvice
hero-sign-flow-portrait

One API for everything

Create, Review, Store

One developer platform covers the whole path, from raw data in your application to a signed, audited document, instead of wiring a document-generation service to a separate e-signature vendor. You build against one API and one set of credentials. We run the rendering, the viewer, the storage, and the audit trail on infrastructure that is ISO 27001 certified and GDPR compliant.

  • Cryptographic sealing and trusted timestamping on every completed signature

  • A verification endpoint that reports on every signature a document carries

  • Drag-and-drop template editor, plus full HTML and CSS control

  • Merge JSON data from any system: CRM, ERP, HRIS, or your own app

  • Dynamic tables, conditional content, and an expression language for logic

  • Batch and asynchronous generation for high volume

  • The finished document flows straight into signing view

  • Long-term encrypted retention and bring-your-own-storage

  • ISO 27001 certified and GDPR compliant infrastrcture

Most signing APIs make you bring the document. This one builds it.

Embedded e-signature tools are built around the signature. You hand them a finished PDF, or rebuild your document as a static template in their editor, and they collect a signature on top. Producing the document is left to you.

PDF Generator API starts a step earlier. Design your template once in the drag-and-drop editor, or with your own HTML and CSS, then send JSON data through the API. We merge the data and template into a finished, branded PDF. Set output to viewer and that same document opens straight into the review-and-sign flow.

Explore document generation features
Create document and sign

Stop building signing infrastructure! Let us do it!

Document signing looks simple until you start. You need a PDF renderer, a viewer that works on every device, signature capture, a place to store versions, audit logs, retention rules, and a compliance story your legal team will accept. That is weeks of work before you write a single line of the feature your users actually asked for.

Then it never stays finished. Someone needs the signer’s IP address for a dispute. A customer asks for every version of a contract. A regulator wants proof of who opened, reviewed, and signed a document, and when, and expects that proof to hold up without taking your word for it. Now you are maintaining an e-signature product you never meant to build, and a public-key infrastructure alongside it.

PDF Generator API gives you the whole flow as an API. Generate the document or bring your own, and we handle the viewer, the signature capture, the sealing, the versioning, and the audit trail. You get a URL, embed it, and ship.

Learn more about Security and Compliance
Stop building the document infrastructure

Embeddable Document Viewer

The signing and review experience is built into our Document Viewer. You reach it the same way every time, by asking for output=viewer, and you can feed it a document from whichever part of your workflow makes sense.

1. Generate a document, then sign it
Merge one of your templates with JSON data and set output to viewer. Instead of a file, you get a URL that opens the document straight into the review-and-sign flow.

View Document Generation API examples

2. Send a PDF you already have
Already generating PDFs somewhere else? Push an existing document to storage and get a review URL back. Provide either a public HTTPS file_url or a base64-encoded file_base64, and set output to viewer.

View Document Storage API examples

3. Collect data with a Web Form, then sign
Let your users fill in a form, generate the document from their answers, and drop them straight into the signing flow. Enable the Sign the document action on the form, and on submit the user is redirected into the review-and-sign experience automatically.

View Web Forms API examples

Create, Upload or Collect Web Form data for review flow

Every signature is sealed, timestamped and tamper-evident

When a signer completes the flow, their mark is flattened into the page and the document is sealed with a digital certificate issued by SSL.com, a publicly trusted certificate authority. The seal is a PAdES signature, the standard Adobe Acrobat and every compliant PDF reader already checks, so a signed document opens with a green tick instead of a warning, on any machine, with nothing for your recipients to install.

Tamper-evident certificate chain

A timestamp authority countersigns each signature over RFC 3161, so the signing time comes from a third party rather than from the signer’s clock. The certificate chain and its revocation data are embedded in the file, which means the signature still verifies years later, after the certificate that produced it has expired.

Change a single byte after signing and the signature no longer matches. Readers say so, and so does our own verification. That is the difference between a record stating that a document was signed and a document that proves it.

Several signers, one document
Each signer signs into their own field, and each signature covers the document as it stood when they signed it. Later signatures never invalidate earlier ones, and the last one covers the whole file, so a completed multi-party agreement verifies as one valid document rather than a stack of contested revisions.

Your document never leaves your infrastructure
Sealing happens over a remote-signing API that receives only a hash of the document, never the document itself. The same is true of the timestamp request. Nothing about the content of what you sign is disclosed to the certificate authority.

esignature-seal-flow-square

Verify a signed document

Signing is only half of it. Ask the API about a stored document and it reports on every signature the file carries: who signed, the time attested by the timestamp authority, the certificate behind the seal and who issued it, whether the signed bytes are unchanged, and whether the certificate chains to a trusted root.

Recipients see the same answer without asking for it. The Document Viewer checks the file the moment it loads and shows its status, so someone opening a link knows whether the document in front of them is intact before they read a word of it.

Verification follows ETSI EN 319 102-1, the European standard for validating advanced electronic signatures, and reports the facts separately from the verdict. “The signature is mathematically sound” and “this document has not changed” are two different questions, and the difference is exactly what matters when a signature is disputed.

It works on documents you did not generate with us, too. Send a signed PDF from anywhere and you get the same report.

View Signature Verification API examples
esignature-verification

What is the embeddable document signing and review flow?

It is a hosted, ready-to-embed viewer that turns any PDF into a guided review-and-sign experience. You generate a document from a template, store an existing PDF, or collect one through a Web Form, and request output=viewer. The API returns a secure URL that walks the signer through their details, captures a typed, drawn, or uploaded signature, and confirms completion. In the background, PDF Generator API versions the document and records every action in an audit log. There is no signing UI to design, no viewer to maintain, and no separate e-signature vendor to integrate.

Prototype your integration today with a 14-day FREE trial. No credit card required.

Document versioning

Every signature and every review produces a new version of the document. Nothing is overwritten, so you always have the exact state of the agreement at each step: the original, the reviewed copy, and the fully executed version. Pull the full version history with the document’s public_id.

Audit logs

Every interaction with a document is recorded: opened, reviewed, accepted, declined, commented, signed, and acknowledged. Each entry captures who did it (name, email, national ID code when supplied, and the IP address the action came from) and a precise timestamp. If a signature is ever questioned, you have the record.

Long-term retention

Keep executed documents for as long as your business and your regulators require, stored encrypted for up to 5 years. Your signed agreements stay available and verifiable for the entire lifetime of the contract, not just the day it was signed.

Bring your own storage

Point the service at your own storage, so signed documents live inside your own infrastructure. Your data stays under your control, and your users get the same signing flow either way.

Automated cleanup

Set a retention period and let documents delete themselves when it expires. Meet data-minimisation and right-to-erasure obligations without a manual cleanup job or a scheduled script to maintain.

Web Forms

Let your users fill in a form, generate the document from their answers, and drop them straight into the signing flow. Enable the Sign the document action on the form, and on submit the user is redirected into the review-and-sign experience automatically.

Talk to us before you build

Meet Michal Líška, our pre-sales engineer. He knows the service inside out and can answer any questions about embedding the signing and review flow into your application.

Book a demo call with Michal ›

Michal Liska

Questions

Before you integrate

How is this different from an e-signature API?

Most e-signature APIs sign a document you already have. PDF Generator API also generates the document from your templates and JSON data, so you go from structured data to a signed, audited PDF in one platform. If you already have a finished PDF, you can sign that too.

Can I sign a PDF I already have?

Yes. Send an existing PDF to storage with a public HTTPS file_url or a base64-encoded file_base64, set output to viewer, and you get back a review URL. You do not have to use our templates.

What kind of signature is applied?

A PAdES digital signature, sealed with a certificate issued by SSL.com and countersigned by a trusted timestamp authority. It is the format Adobe Acrobat validates natively, and it carries the data needed to keep verifying after the certificate expires.

Can I verify a document outside your platform?

Yes. Signed documents verify in Adobe Acrobat Reader and any other PAdES-aware reader, with no dependency on us. Our API gives you the same answer programmatically, through GET /documents/{publicId}/signatures.

What happens if the document is edited after signing?

The signature stops matching the content it covers, and every reader reports it. Our verification tells you which signature broke and whether anything was appended after it.

Do signatures still verify years later?

Yes. The certificate chain and revocation data travel inside the file, together with a document timestamp, so a signature can be validated long after the signing certificate has expired.

Can I check a PDF that was signed somewhere else?

Yes. Send us a signed PDF and you get a report on its signatures, whoever produced them.

How do I authenticate?

Requests use a JSON Web Token (JWT) as a Bearer token, signed server-side with your API key and secret. The base URL for all endpoints is https://us1.pdfgeneratorapi.com/api/v4.

Can I see who signed and when?

Yes. GET /documents/{publicId}/actions returns every action, from opened and reviewed to signed, with the signer’s identity, IP address, and timestamp. GET /documents/{publicId}/versions returns the full version history.

Where are signed documents stored?

In our encrypted storage by default, with configurable long-term retention. You can also bring your own storage (e.g. AWS S3, Azure, Dropbox, Google Drive) so documents live in your infrastructure.