Skip to content
rendoc
Use Case

Contract PDF Generation

Automate contract and agreement creation. Generate NDAs, service agreements, and employment contracts as professional PDFs — with dynamic party details, clauses, and terms.

Generate a contract in seconds

Pass party details, terms, and clauses. Get a formatted contract PDF ready for review and signing.

JavaScript SDK
import Rendoc from "rendoc";

const rendoc = new Rendoc("your_api_key");

const pdf = await rendoc.documents.generate({
  template_id: "tpl_contract_nda",
  data: {
    contract_type: "Non-Disclosure Agreement",
    effective_date: "March 25, 2026",
    party_a: {
      name: "Acme Corp",
      address: "123 Business Ave, San Francisco, CA 94102",
      representative: "John Davis, CEO",
    },
    party_b: {
      name: "Jane Smith",
      address: "456 Contractor St, Austin, TX 78701",
    },
    duration: "2 years",
    governing_law: "State of California",
    contract_id: "NDA-2026-0391",
  },
});
cURL
curl -X POST https://rendoc.dev/api/v1/documents/generate \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "tpl_contract_nda",
    "data": {
      "contract_type": "Non-Disclosure Agreement",
      "effective_date": "March 25, 2026",
      "party_a": { "name": "Acme Corp", "representative": "John Davis, CEO" },
      "party_b": { "name": "Jane Smith" },
      "duration": "2 years",
      "governing_law": "State of California"
    }
  }'

Why developers choose rendoc for contracts

Template library

NDAs, service agreements, employment contracts — create reusable templates for each contract type you need.

Dynamic clauses

Conditionally include or exclude sections based on your data. One template handles multiple contract variations.

Multi-page support

Contracts can span dozens of pages. rendoc handles pagination, headers, footers, and page numbering.

Version tracking

Each generated contract gets a unique document ID. Track versions and retrieve historical documents anytime.

Consistent formatting

Legal documents need precise formatting. Your HTML/CSS template ensures every contract looks professional.

Fast turnaround

Generate contracts in seconds, not days. Close deals faster by automating document preparation.

Automate your contract workflow

100 documents per month free. Generate NDAs, service agreements, and more from reusable templates.