---
title: "Merge or split uploaded PDFs as a job"
method: POST
path: "/pdf/jobs"
tags: ["PDF tools"]
---

# Merge or split uploaded PDFs as a job

`POST /pdf/jobs`

## Request

- Base URL: `https://api.podpdf.com`
- URL: `https://api.podpdf.com/pdf/jobs`
- Auth: API key in header `X-API-Key`

For sets over 4 MB, uploaded with `/pdf/upload-url` first.

## Request body

- object
  - `operation` 'merge' | 'split', required
  - `inputs` object[], required: 2 to 100 entries for merge, exactly 1 for split.
    - `s3_key` string
    - `filename` string
    - `pages` string: Page range; merge only.
  - `split` object
  - `options` object

## Response `202`

Queued

- object
  - `job_id` string
  - `status` string
  - `operation` string

## Other responses

- `400`: The request was invalid
- `401`: Missing or invalid API key
- `403`: `INSUFFICIENT_CREDITS`, `CONVERSION_TYPE_NOT_ENABLED`, `PDF_TOOLS_NOT_ENABLED`, `RATE_LIMIT_EXCEEDED` or `ACCOUNT_NOT_FOUND`. Note that a plan's rate limit is a 403, not a 429.

---

[API](https://skmtc.dev/podpdf/apis/podpdf-api.md) · [All operations](https://skmtc.dev/podpdf/apis/podpdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/podpdf/apis/podpdf-api/revisions/84eb21f3ee27?raw)
