Legal document automation API for court forms, contracts and NDAs

Fill court forms, contracts and client documents with data from your intake forms or practice management system. Clients review and sign online, and every signed PDF includes an audit trail.

Start Free Trial

Legal tech platforms and law firms use DocSpring to turn client answers into finished documents. Court forms keep their official layout, and your own agreements fill from the same data.

Legal paperwork you can automate

California Judicial Council forms

Fill family law, probate and small claims forms such as the FL-100, FL-150, FL-300, DV-100, DE-111 and SC-100 from a client's intake answers.

Federal court and agency forms

Fill federal forms such as the AO 440 summons in a civil action, and the G-28 notice of appearance before USCIS.

Client intake

Turn intake questionnaires for divorce, guardianship, name changes and estate planning into completed forms, so clients answer each question once.

Contracts and NDAs

Generate NDAs, service agreements and engagement letters from your templates, one at a time or in bulk.

Wills and estate planning

Fill wills, powers of attorney and healthcare directives from the details clients enter online.

Bail bond paperwork

Fill bail bond applications, indemnity agreements and promissory notes for each defendant and co-signer.

Legal form templates

How it works

Upload your PDF

Upload your PDF

Fillable fields are imported automatically. For a flat or scanned PDF, drag fields onto the page in the template editor.

Set up your fields

Map the fields once

Name each field and set its type. Every template gets a JSON schema, so bad data returns a clear error instead of a wrong document.

Send an API request

Fill it from your app

Send JSON to our API or SDKs and download the finished PDF, or share a hosted form that fills the PDF for you.

Works with your code and your tools

API and SDKs

A REST API with official SDKs in 9 languages: Ruby, Python, JavaScript, TypeScript, PHP, C#, Java, Go and Elixir.

Hosted web forms

Every template gets a web form that you can share as a link or embed on your site. Each submission becomes a filled-out PDF.

E-signatures with Data Requests

Send someone a hosted or embedded form to check their details and sign. Every signed PDF includes an audit trail.

Webhooks and no-code tools

Webhooks tell your app when a PDF is ready. You can also connect Zapier, n8n, Node-RED, Bubble or Parabola, or save PDFs to your own S3 bucket.

Security and compliance

SOC 2 Type II audited

SOC 2 Type II

GDPR Compliant

GDPR Compliant

HIPAA Compliant

HIPAA Compliant

DocSpring has completed a SOC 2 Type II audit and is GDPR and HIPAA compliant. You choose US or EU data residency when you sign up.
We sign Business Associate Agreements (BAAs) on request.

Learn More

Legal FAQ

Can DocSpring fill court forms like California Judicial Council forms?

Yes. Judicial Council forms are public PDFs. Upload the forms you need, map their fields once, and fill them from your case data. When the council revises a form, upload the new version to the same template and adjust any fields that moved.

How do I turn a client intake questionnaire into completed court forms?

Collect the answers in your own app or in a DocSpring web form, then send them to each template that needs them. One set of intake data can fill several forms, and you can combine the results into a single PDF.

Can I generate contracts and NDAs in bulk?

Yes. Upload your agreement as a PDF or build it as an HTML template, then send up to 50 documents per batch request, each with its own parties, dates and terms.

Can clients sign documents electronically with an audit trail?

Yes, with Data Requests. Each signer reviews the document in a hosted or embedded form and signs it. The signed PDF includes an audit trail that records how and when each person signed, which supports compliance with the ESIGN Act and UETA. Those laws don't cover wills, divorce and other family law matters, or court filings, so check the court's or state's signing rules for those documents.

Can our legal tech platform embed the template editor?

Yes. You can embed DocSpring's template editor in your own product, so your customers set up their own forms and agreements without leaving your app. You choose which editor features they can use.

Can documents include clauses that depend on the client's answers?

Yes. In an HTML template, Liquid conditions include or leave out clauses based on the data, and long agreements grow to as many pages as they need. Uploaded PDF forms can use conditional logic to show or require fields in web forms.

How is confidential client data protected?

DocSpring has completed a SOC 2 Type II audit. Submission data is encrypted at rest with AES-256, and each template can delete submission data and generated PDFs automatically after a set time. You choose US or EU data residency when you sign up.

Upload your own legal forms

Sign up for a free trial and try out DocSpring with your own PDFs.