Flatten PDF

NOTE: This action will be globally available May 2022


The 'Flatten PDF' action removes all fields and other objects from a PDF document replacing with their values to create a 'Flat' PDF document.

Default Options

The default 'Flatten PDF' flow action parameters are detailed below:

  • File Content: A Base64 encoded representation of the PDF file to be processed.


Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action.

Return Parameters

The 'Flatten PDF' flow action returns the following data. 

Action Specific Return Values

  • File Content - The compressed PDF document (Base64)

Standard Return Values

  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has completed, has been queued or has failed.


Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk