Logo

PDF Form Filling API

Start building for free today – no credit card required.

Fill the form fields of any PDF with a single API call. Send the names of the fields with their values and get back the filled PDF – ready to send, archive or print, or flattened so the answers can no longer be changed.

Also available as an MCP tool

Claude, ChatGPT, Cursor or your own agent can call fill-pdf-form directly.

See what agents can do

Benefits of our PDF Form Filling API

Fill text fields, checkboxes, radio buttons, dropdowns and list boxes in the forms you already have, without redesigning them. Calculated fields such as totals are updated after filling, and numbers and dates appear in the field's own display format, like 1.234,50 or 14.10.2026. Invalid values are rejected field by field with a clear error, so you know exactly what to fix. Find the names of the fields with our PDF Form Fields API.

Want your recipients to fill in the form themselves instead? Share it through the PDF viewer and receive every submission as structured data.

Read our API documentation to learn how to fill PDF forms.

Multi-language Code Example

curl -X POST https://apdf.io/api/pdf/form/fill \
  -H "Authorization: Bearer TOKEN" \
  -d file="FILE_URL" \
  -d fields[0][name]="full_name" \
  -d fields[0][value]="Jane Doe" \
  -d fields[1][name]="contact" \
  -d fields[1][value]="Email" \
  -d fields[2][name]="newsletter" \
  -d fields[2][value]="true"

No-Code PDF Form Filling

Integrate our PDF Form Filling API with Zapier Webhooks to automate your paperwork. Fill applications, contracts and order forms with the data from your CRM, spreadsheet or online forms as soon as a record comes in – from hundreds of apps supported by Zapier, without copying anything by hand.

After the API call

Your code made the PDF.
Then it went dark.

Opened, read, re-read, dropped on page 4 — you never see any of it. Share the PDFs you generate through Apdf recipient links, and every signal becomes something you can act on: ping Slack, update the CRM, let an agent follow up. Same account, same API token, one more call.

Your PDF, after sending Live
document:loaded CFO
page:read p4 · 38s
link:clicked pricing

API · Webhook · MCP

Start using our API today.
No trial needed.