---
title: "Merges multiple PDF documents into a single PDF document."
method: POST
path: "/pdf/merge/"
tags: ["PDF"]
---

# Merges multiple PDF documents into a single PDF document.

`POST /pdf/merge/`

Merges multiple PDF documents into a single PDF document.

## Response `201`

PDF Document generated successfully

- object
  - `url` string, uri, required — URL to the merged PDF document

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2024-09-06** `a5a51ce2a2fd` — 5 info
  - added the new optional request property `options/allowViewing`
  - added the new optional request property `options/expiresAt`
  - added the new optional request property `options/fileName`
  - added the new optional request property `options/host`
  - …1 more
- **2024-06-03** `d292b8ba831c` — 1 info
  - the request property `options` became optional
- **2024-05-31** `f53cbf3e2593` — 1 info
  - api operation id `mergePDFDocuments` was added
- **2024-05-07** `89913b501ee8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/onedoclabs/apis/fileforge-api/changes/pdf/merge/post.md)

---

[API](https://skmtc.dev/onedoclabs/apis/fileforge-api.md) · [All operations](https://skmtc.dev/onedoclabs/apis/fileforge-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onedoclabs/fileforge-api/revisions/a5a51ce2a2fd/schema)
