---
title: "Reorder, rotate, remove or insert PDF pages"
slug: reorder-rotate-remove--or-insert-pdf-pages
url: https://apyhub.com/freedailypro/service/reorder-rotate-remove--or-insert-pdf-pages
provider: FreeDailyPro
tags: [reorder, rotate, remove, insert, pdf, pages, extract]
auth: api_key
version: v1
service_type: sync
endpoints: 1
atoms: 10
mcp: true
---

# Reorder, rotate, remove or insert PDF pages

Reorder, rotate, remove or insert blank pages in any PDF with one API call. Upload a PDF up to 20 MB, set the page order and get a new PDF back.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/freedailypro/reorder-rotate-remove--or-insert-pdf-pages/organize` | What it does Reorders, rotates, removes, or inserts pages in a PDF you upload, then returns the mod… | 10 |

## Endpoint reference

### Reorder, rotate, remove or insert PDF pages

`POST https://api.eu.apyhub.com/freedailypro/reorder-rotate-remove--or-insert-pdf-pages/organize` · 10 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes | The PDF. Up to 20 MB. |
| `pageSpecs` | body | string | yes | JSON array, for example [{"type":"source","index":0},{"type":"blank"},{"type":"source","index":2,"rotation":90}] |

#### Quickstart

Upload a PDF and a page-specs list to reorder, rotate, remove, or insert pages.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/reorder-rotate-remove--or-insert-pdf-pages/organize" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.pdf" \
  -F 'pageSpecs=[{"type":"source","index":0},{"type":"blank"},{"type":"source","index":2,"rotation":90}]'
```

#### What you'll get back

Returns a binary file containing the organized PDF document.

## About

## What it does
PDF Page Organizer lets you reorder, rotate, remove, or insert pages in a PDF and get a new PDF back. Send the original PDF file along with a `pageSpecs` JSON array that describes the page sequence you want.

Use `pageSpecs` to build the output from source pages, blank pages, and rotated pages. The input PDF is sent as `file` and can be up to 20 MB. The response is a binary PDF, so you can pass it straight into downstream storage, preview, or signing workflows.

Use this when you need to normalize incoming documents, remove cover pages, insert separators, or fix sideways scans before archiving. It is useful in document pipelines where page order matters, such as invoice bundles, reports, contracts, and case files.

Because the service works at the page level, you can precisely reshape a document without rasterizing or rebuilding it from scratch.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/freedailypro/service/reorder-rotate-remove--or-insert-pdf-pages
