Stirling PDF icon

Stirling PDF

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

Actions260

General → Merge Pdfs

AI-generated

Summary

Merge multiple PDF files into a single PDF, with options to control input file sorting, remove certification signatures, and optionally generate a table of contents based on the input filenames.

Inputs

  • File Input (required) — The input PDF files to be merged.
  • Sort Type (required) — The method to sort input files before merging, options include the order provided, by file name, modification date, creation date, or PDF title.
  • Remove Cert Sign (required) — Whether to remove all certification signatures from the merged PDF.
  • Generate Toc — Whether to generate a table of contents using input file names as chapter titles.
  • File Order — String to specify explicit file order as a query parameter.
  • Client File Ids — Optional JSON array of client-provided IDs corresponding to each input file.

Output shape

a single merged PDF file

The merged PDF respects the specified sorting and removal of certification signatures. If enabled, a table of contents is generated from the input filenames. The output is a binary merged PDF document.

Examples

Example 1: Merging three PDFs with files sorted by modification date and certification signatures removed, with no table of contents.

Set File Input to array of PDFs, Sort Type to ByDateModified, Remove Cert Sign to true, Generate Toc to false.

Links

Discussion