Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Forms → Fill Form

AI-generated

Summary

Fill an existing PDF form with specified field-value data and optionally flatten the filled form fields to create a non-editable PDF.

Inputs

  • Input Binary Field Name (File) (required) — Name of the binary property containing the input PDF file to be filled.
  • Data — A JSON string representing the field-value pairs to populate the PDF form with.
  • Flatten — Boolean flag to flatten the form fields, making the filled PDF non-editable.

Output shape

a single binary PDF file with the form fields filled as specified

The output binary property will contain the resulting PDF data. Flattening, if enabled, makes the fields part of the static PDF content. No pagination or batching applies to the output; batching applies only to the request handling.

Examples

Example 1: Provide a PDF form as a binary input under the specified binary field name, pass a JSON object of field-value pairs in the Data property, optionally enable Flatten to lock the fields, and receive the updated PDF as output.

Set 'fileBinaryProperty' to the input binary field name, 'Data' to the JSON string of form values, and 'Flatten' as desired.

Links

Discussion