Flatten Forms

POST https://api.pdfrest.com/flattened-forms-pdf

Flatten all forms in a PDF, including both static and dynamic XFA and AcroForms.

Required form-data body parameters:

  • One of:
    • file - File to be uploaded and processed
    • id - Alphanumeric ID (UUID) of existing file on server to be processed

Optional form-data body parameters:

  • output - File name of output file (without extension)

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"id", "value"=>"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "datatype"=>"string"}, {"name"=>"output", "value"=>"pdfrest_flattened-forms-pdf", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Api-Keystring