ComPDF icon

ComPDF

ComPDF async processing API

PDF → Security

AI-generated

Summary

Add or remove watermarks from PDF documents in bulk by processing a PDF file provided as binary data and specifying processing parameters and language settings.

Inputs

  • executeTypeUrl (required) — The API endpoint path used to perform the security operation on the PDF.
  • binaryPropertyName — The name of the binary property containing the PDF file to process; defaults to 'data'.
  • parameter (required) — A string parameter to configure watermark addition or removal for the PDF.
  • language — Language setting for OCR and text recognition, defaulting to '2'.

Output shape

a list of JSON objects representing the results returned by the ComPDF API after processing the PDF file with the security operation.

The response is returned as JSON data paired with the input item index. The operation uploads the binary PDF file to the ComPDF async processing API and returns the processed results from the specified API endpoint.

Examples

Example 1: Add watermark

Provide the executeTypeUrl for watermark addition, supply the PDF file in the specified binary property, and define processing parameters for watermark content and placement.

Links

Discussion