---
title: "Splits a PDF document into 2 PDF documents."
method: POST
path: "/pdf/split/"
tags: ["PDF"]
---

# Splits a PDF document into 2 PDF documents.

`POST /pdf/split/`

Splits a PDF document into 2 PDF documents. Returns a zip file containing the 2 documents. Each document is named after the original document with a suffix added to indicate the range of pages it contains.

## Response `201`

ZIP file generated successfully

## Other responses

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

## Changes

- **2024-06-24** `a1c8b9530929` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/onedoclabs/apis/fileforge-api/changes/pdf/split/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)
