PDF Page Reordering
Change the order of pages inside a PDF to reorganize content, fix document flow, or prepare files for publishing, sharing, or further processing.
Raw JSON
What You Can Control With Reorder Action
With the Reorder action, you can control the exact sequence of pages in the output PDF by defining a custom page order.
- Defining a custom page order for the output PDF
- Reordering all pages using an explicit index sequence
- Preserving page content while changing document flow
- Handling full-document page rearrangements
- Generating a single reordered PDF as output
- Preparing reordered files for downstream PDF actions
PDF Endpoint Capabilities
The PDF endpoint provides a set of production-ready document operations designed for automation, document workflows, and backend processing.
merge
Combines multiple PDF files into a single document while preserving page order, structure, and layout for unified document delivery.
compress
Reduces the file size of PDF documents using safe compression techniques that preserve page structure, readability, and document integrity.
split
Splits a PDF into separate files by page range, enabling flexible document segmentation for storage, processing, or delivery needs.
extract
Extracts selected pages from a PDF document into a new file, enabling page-level reuse, redistribution, or focused document workflows.
to-images
Converts PDF pages into image files, enabling visual previews, thumbnails, or downstream image-based processing workflows.
watermark
Applies text or image watermarks to PDF pages with controlled placement and repetition, supporting branding and document ownership needs.
delete-pages
Removes selected pages from a PDF document, allowing precise document trimming without modifying remaining content.
reorder
Changes the order of pages within a PDF document, allowing logical restructuring without altering page content or formatting.
rotate
Rotates PDF pages by fixed angles to correct orientation issues and normalize document presentation.
encrypt
Applies password-based encryption to PDF documents to restrict access and protect sensitive content during storage or delivery.
decrypt
Removes password protection from encrypted PDFs when permitted, enabling downstream processing and document access.
flatten
Flattens interactive PDF elements into static content, ensuring consistent rendering and preventing form or annotation modification.
extract-images
Extracts embedded images from PDF documents while preserving original resolution and format, enabling asset reuse or downstream processing.
metadata
Extracts PDF metadata such as author, creator, and creation information and returns it as structured data, without modifying the document content.
Why Developers Use the PDF Endpoint
Document-Safe Processing
The PDF endpoint provides controlled document transformations designed to preserve structure and readability, making it suitable for production workflows.
Automation-Ready Design
All actions are built for backend automation, scheduled jobs, and batch processing where manual intervention is not possible.
Comprehensive Document Control
From compression and splitting to encryption and watermarking, the endpoint covers common document lifecycle operations in one place.
Batch-Friendly Operations
Supports multi-file workflows such as merging multiple PDFs, as well as actions that generate multiple outputs in a single request, improving efficiency for document pipelines.
Secure Output Handling
Processed documents are returned through structured responses with controlled output URLs for safe system integration.
Predictable, Documented Behavior
Each action follows explicit rules and parameters, allowing developers to build reliable integrations with minimal surprises.
Production-Grade Reliability
Limits, timeouts, and execution behavior are enforced consistently to support long-running and high-volume document workflows.
Use Cases Powered By PDF Endpoint
Document Compression Pipelines
Automatically reduce PDF file size by compressing documents, removing unnecessary pages, and flattening forms before storage or delivery, ensuring faster transfers and lower storage costs.
Report & Invoice Processing
Generate clean, standardized reports and invoices by merging PDFs, reordering or extracting pages, flattening form fields, and applying watermarks for branding or approval workflows.
Document Archiving Systems
Prepare PDFs for long-term storage by restructuring page order, removing sensitive pages, extracting metadata for indexing, and encrypting files to meet compliance and retention requirements.
Secure File Distribution
Protect PDFs before sharing by applying encryption, removing unwanted pages, adding watermarks, and controlling document structure to ensure files are safe for external distribution.
Automated Backend Jobs
Integrate the PDF endpoint into background jobs to process documents at scale—splitting large PDFs, converting pages to images, extracting embedded assets, or restructuring files without manual intervention.
Frequently Asked Questions
Pdf Endpoint FAQ
rerr
rrrrr
