PrefillPDF Developer Docs
Clear and simple documentation for integrating with the PrefillPDF API. Fill PDFs, apply watermarks, extract raw text, and convert PDF documents into structured JSON.
Video Tutorials
API Basics
Send your API key in the Authorization header:
Use this base URL for every API request:
/fill-pdfSupports data for mapped fields, form_fields for native PDF AcroForm fields, and images for logos, signatures, QR codes, and other configured image placeholders.
Request body (application/json)
{
"template_id": "tmpl_123",
"data": {
"field-bizname": "Acme LLC"
},
"form_fields": {
"dba-name": "Acme DBA",
"legal-business-name": "Acme LLC"
},
"images": {
"logo": "https://example.com/logo.png",
"signature": "https://example.com/signature.png"
}
}cURL
curl -X POST "https://api.prefillpdf.com/fill-pdf" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"template_id": "tmpl_123",
"data": {
"field-bizname": "Acme LLC"
},
"form_fields": {
"dba-name": "Acme DBA",
"legal-business-name": "Acme LLC"
},
"images": {
"logo": "https://example.com/logo.png",
"signature": "https://example.com/signature.png"
}
}'More examples (auto-generated)
Ready to Get Started?
Start filling PDFs, adding watermarks, and automating document workflows in minutes.


