360 Secure SkillHub
360 安全技能中心

Merge PDFs

调用外部 PDF 合并接口,把 2-25 个 PDF 合并为单个文档,支持 URL 列表、base64 编码文件和 multipart 上传三种输入,并可自定义元数据与输出形式;需在请求头提供 API 密钥。限额为单文件 50MB、单文档 200 页、总页数 500、下载超时 60 秒。

rishabhdugar
rishabhdugar
热度 45.96
最近更新 2026-05-11 17:44:07
分类:效率依赖:第三方 API / 代码执行应用场景:文件转换 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add merge-pdfs
Metadata
name
merge-pdfs
description
Combine two or more PDFs into a single document. Supports URLs, base64, multipart uploads, and custom metadata.

Merge PDFs

What It Does

Combines two or more PDFs into a single document. Google Drive share links are automatically converted to direct-download URLs.

When to Use

  • Combine multiple PDF invoices, reports, or contracts into one file
  • Merge chapters or sections into a single document

Required Inputs

Provide one of:

  • urls — array of PDF URLs (2-25)
  • files — array of base64-encoded PDFs
  • Multipart upload with files field(s)

Authentication

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Use Cases

  • Invoice Bundling — Combine monthly invoices into a single PDF for clients
  • Report Assembly — Merge cover page, table of contents, and report chapters into one document
  • Legal Document Packets — Bundle contracts, appendices, and exhibits into one filing
  • Student Submissions — Merge multiple assignment PDFs into one submission file
  • Mortgage/Loan Packages — Combine application forms, ID scans, and financial docs into one package
  • Book Assembly — Merge individual chapter PDFs into a complete manuscript

Limits

Constraint Value
Max input files 25
Max pages per document 200
Max total pages 500
Max input file size 50 MB
Download timeout 60 s

Example Usage

curl -X POST https://pdfapihub.com/api/v1/pdf/merge \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "urls": [
      "https://pdfapihub.com/sample.pdf",
      "https://pdfapihub.com/sample1.pdf"
    ],
    "output": "url"
  }'