Import Form Data
Import Form Data is a REST API tool that imports values into PDF form fields from an external data file for both XFA forms and Acroforms.
Try Now with API Lab
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!
What are Pro Tools?
Pro Tools are powerful API Tools that require a Pro or Enterprise plan for unrestricted access. All plans may be used to test Pro Tools, but output will be watermarked or otherwise limited below the Pro plan level.
Build Your Solution
You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.
Why is pdfRest the best API to fill PDF forms with data?
Automated Form Filling
pdfRest Import Form Data loads values into any and all form fields specified in an external data file, regardless of form complexity and underlying form technology. Whether you're filling out government forms for your users, populating invoices, or populating values in your own custom forms on a repeated basis, you'll need technology you can trust to consistently get the job done right.
With fast, reliable results, Import Form Data allows you to easily configure an automated process for loading data from external sources into PDF form templates. This works just as well for small scale and large scale workflows, saving you valuable time and resources across a wide range of forms processing objectives.
Full XFA and Acroform Support
Not all PDF forms are built the same! There are different underlying technologies used in practice to add forms to PDF documents, and these require different technologies to import data or otherwise interact with forms through manual or programmatic processing. In particular, full support for XFA forms is rare, with some tools capable of handling static XFA documents and most tools unable to handle dynamic XFA documents.
Only pdfRest offers full support for importing data into static and dynamic XFA forms, as well as Acroforms, all with one streamlined API Tool.
Add and Protect Data
pdfRest offers two REST API Tools that pair perfectly together to offer a complete end-to-end data entry and data protection solution for PDF form documents.
Import Form Data
kicks off the process by filling PDF forms with values from an external data source. Once the data is imported, Flatten Forms
locks the data into the PDF, turns the document into a standard PDF for maximum compatibility, and makes forms no longer editable so that the data cannot be modified. Customize PDFs at scale with variable data added and protected in one, quick workflow.
Start from Code Examples
Need more help?
Start with a Tutorial for step-by-step guidance
Customize Your Solution
Learn about the parameters for this tool to create your custom solution.
The data_file
parameter lets you upload a file containing data to be imported into PDF form fields.
The format of your data file should match a valid file type based on the kind of PDF form in your document.
- Acroform:
.fdf
,.xfdf
, or.xml
- XFA: .
xdp
,.xfd
, or.xml