JustFill Developers · REST API v1 & Webhooks

JSON-to-PDF Form Filling REST API for Flat & Fillable PDFs

Calibrate any flat, scanned, or AcroForm PDF once with Vision AI, inspect its field schema over HTTP, and generate single PDFs, custom-named batch ZIPs, or mobile /f/:token e-sign links from clean JSON.

Setup Guide & Sample PayloadAccount → API Keys

Calibrate your own flat, scanned, or AcroForm PDF in your browser first

Upload your form

Choose a PDF, a Word file or an image from your files, or photograph a paper form.

PDF, Word (.docx, .doc), JPG, PNG, WebP, HEIC, GIF and BMP. Instant field preview in browser, no credit card required.

Free: upload, auto-detect fields, fill & preview online. First manual PDF free without a watermark (up to 5 pages with fields). Clean PDF export: $7 7-day pass (one-time, no subscription; 25 clean PDF pages + 25 AI credits, $7 credited toward $19/mo Starter).

By uploading, you confirm you have the legal right to use this document.

How data flows

Your App / Backend / CI

Authenticated with Authorization: Bearer jf_live_* API key

JustFill /api/v1/* Engine

Deterministic template rendering, AcroForm & flat coordinates, checkbox normalization

PDF Binary, Base64, ZIP & Webhooks

Instant HTTP responses plus form.submitted & template.filled webhook events

56-second video walkthrough

Watch: Calibrate Once & Automate PDF Filling via REST API, Zapier & Make

See the end-to-end /api/v1/* automation pipeline: Vision AI calibration on flat PDFs, jf_live_* Bearer auth, single-PDF or batch ZIP generation, and signed submission webhooks.

Automate Flat PDF Form Filling with Zapier, Make & REST APIWatch on YouTube

Step-by-step setup

Connect JustFill REST API v1 to JustFill in 4 steps

  1. 1

    Calibrate & save your PDF template in JustFill

    Upload any flat, scanned, or AcroForm PDF in the JustFill editor. Vision AI detects every field; verify field names once and save the calibration.

  2. 2

    Create a Bearer API key (jf_live_*)

    Open Account → API Keys on Pro ($49/mo), Business ($99/mo), or Scale ($249/mo). Verify authentication with GET https://api.justfill.app/api/v1/me.

  3. 3

    Fetch your template field schema & sample curl

    Call GET /api/v1/templates to list template IDs, then GET /api/v1/templates/{id}/schema to retrieve exact field keys, types (text/checkbox/signature), and a ready-to-run curl snippet.

  4. 4

    Fill single PDFs, batch ZIPs, or subscribe to webhooks

    POST JSON values to /api/v1/templates/{id}/fill or /api/v1/batch-fill, mint /f/:token signing links via /api/v1/signing-links, and register webhooks on POST /api/webhooks.

Single PDF Fill — curl (POST /api/v1/templates/{id}/fill)

Returns binary application/pdf when responseFormat is "pdf" or JSON with base64 when "json_base64".

curl -X POST "https://api.justfill.app/api/v1/templates/YOUR_TEMPLATE_ID/fill" \
  -H "Authorization: Bearer jf_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "values": {
      "Company_Name": "Northwind Industrial LLC",
      "Tax_Classification_LLC": true,
      "EIN": "84-2910441",
      "Street_Address": "410 Industrial Pkwy, Austin, TX 78701"
    },
    "flatten": true,
    "responseFormat": "pdf"
  }' \
  --output filled-w9.pdf

Batch ZIP Generation — JSON (POST /api/v1/batch-fill)

Supports multi-column filenamePattern tokens like {LastName}_{Unit}_{Year}.pdf and returns a ZIP archive.

{
  "templateId": "YOUR_TEMPLATE_ID",
  "filenamePattern": "{LastName}_{Unit}_{Year}.pdf",
  "flatten": true,
  "responseFormat": "zip",
  "rows": [
    {
      "LastName": "Ellis",
      "Unit": "4B",
      "Year": "2026",
      "Rent": "$1,950.00"
    },
    {
      "LastName": "Patel",
      "Unit": "6A",
      "Year": "2026",
      "Rent": "$2,100.00"
    }
  ]
}

Verified JustFill Endpoints

MethodEndpointPurpose
GET/api/v1/meValidate API key, inspect active tier, page limits, and batch row limits
GET/api/v1/templatesList all saved calibrated PDF templates for the authenticated account
GET/api/v1/templates/{id}/schemaReturn field schema, sample JSON payload, curl snippet & n8n node JSON
POST/api/v1/templates/{id}/fillPopulate 1 PDF template (binary PDF or json_base64, optional signatureDataUrl)
POST/api/v1/batch-fillBatch-render rows into a ZIP archive with custom {Token} filenames
POST/api/v1/signing-linksCreate a hosted mobile /f/:token fill & e-sign link for a template
GET/api/v1/form-submissionsList completed /f/:token submissions with field values and signed PDF metadata
POST/api/webhooksSubscribe to form.submitted and template.filled webhook events (GET/DELETE supported)

Popular JustFill REST API v1 PDF Workflows

SaaS Backend → On-Demand Official PDF Download

Trigger
User clicks "Download Compliance Packet" in your app
Action
POST /api/v1/templates/{id}/fill (responseFormat: "pdf")
Output
Stream flattened PDF directly to your user

Nightly Batch Cron → Multi-Document ZIP

Trigger
Scheduled billing or payroll job
Action
POST /api/v1/batch-fill with filenamePattern
Output
Store ZIP in S3/GCS or email recipients

Embedded Client E-Sign + Webhook Sync

Trigger
POST /api/v1/signing-links on customer onboarding
Action
Customer signs on /f/:token with SHA-256 verification seal
Output
form.submitted webhook triggers your backend

Automation & Batch Quotas

Included in Pro, Business & Scale Plans

Compare all plans on /pricing
Pro
$49/mo
  • 750 clean pages / mo
  • Up to 400 rows / batch
  • 150 Bulk Emails / run
  • 1 seat
Business
$99/mo
  • 3,500 clean pages / mo
  • Up to 1,000 rows / batch
  • 500 Bulk Emails / run
  • 3 seats · White-Label
Scale
$249/mo
  • 10,000 clean pages / mo
  • Up to 2,500 rows / batch
  • 2,000 Bulk Emails / run
  • 8 seats · White-Label
Enterprise
From $499/mo

Sales-Assisted · PO & ACH invoicing · Custom SLA. Custom API volumes, SAML SSO, Custom SMTP & SLA.

Frequently Asked Questions