Split PDF - Page-based Separator API
PDF4me Split PDF is a powerful enterprise-grade solution that splits PDF files into smaller files at specific pages through advanced API integration. This comprehensive PDF splitting service efficiently processes PDF documents, providing intelligent page-based splitting, automated document separation, precise page control, and advanced PDF processing capabilities for enhanced document management and automated processing workflows. The API processes PDF splitting by receiving source PDF documents through REST API calls, utilizing advanced page analysis technology and intelligent splitting algorithms for accurate document separation and professional PDF processing. With comprehensive support for page-based splitting, intelligent document separation, automated PDF processing, and professional document management, this solution is ideal for document management, automated processing, page-based splitting, and enterprise PDF workflows that require reliable document splitting with guaranteed accuracy and consistent output quality. Split PDF documents easily with API for advanced PDF processing and document management.
Authenticating Your API Request
To access the PDF4me REST API, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user of the REST API.
Key Features
- Page-Based Splitting: Split PDF files at specific page numbers for precise document control
- Automated Processing: Split PDF documents based on page criteria and splitting rules
- Quality Preservation: Maintain PDF quality during splitting operations
- Professional Results: High-quality PDF splitting with accurate page separation
- Seamless API Integration: RESTful API designed for automated PDF processing workflows and enterprise system integration
REST API Endpoint
The PDF4me REST API uses standard HTTP methods to interact with resources. All PDF splitting operations are performed through a single endpoint:
- Method: POST
- Endpoint:
/api/v2/SplitPDF
Supported PDF Splitting Features
The API provides comprehensive support for various PDF splitting and page processing capabilities:
Page Processing
- Page Analysis: Intelligent page analysis and identification for splitting operations
- Page Control: Precise control over page selection and splitting criteria
- Multiple Formats: Support for various PDF formats and page structures
- Professional Results: High-quality page analysis with accurate splitting
- Advanced Processing: Support for complex page structures and splitting requirements
Document Splitting
- Automated Splitting: Split PDF documents based on page criteria and splitting rules
- Page Separation: Separate pages into individual PDF documents for precise control
- Intelligent Processing: Smart document splitting with page-based identification
- Professional Results: High-quality PDF splitting with accurate page separation
- Advanced Processing: Support for complex document structures and splitting requirements
Content Processing
- Quality Preservation: Maintain PDF quality during splitting operations
- Format Support: Support for various PDF formats and document types
- Professional Enhancement: High-quality PDF processing with accurate splitting
- Flexible Options: Customizable processing parameters for specific requirements
REST API Parameters
Complete list of parameters for the Split PDF REST API. Parameters are organized by category for better understanding and implementation.
Important: Parameters marked with an asterisk (*) are required and must be provided for the API to function correctly.
Required Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| File Content* | Base64 | Map source PDF file content from the previous action | JVBERi... |
| File Name* | String | Name of the file from the source | document.pdf |
| splitAction* | String | You can select any one splitAction value - RecurringSplitAfterPage - Example - I have 21 pages one pdf. I give splitActionNumber value 1, output files will be 21 or splitActionNumber value 4, output files will be 6. SplitAfterPage - Example - I have 21 pages one pdf. I give splitActionNumber value 1, output files will be 2 or splitActionNumber value 4, output files will be 2. SplitSequence - Example - I have 21 pages one pdf. I give splitSequence value [1] output files will be 2, or splitSequence value [1,3,8], output files will be 4. SplitRanges - Example - I have 21 pages one pdf. I give splitRanges value "1-4", output files will be 1 or splitRanges value "10-21", output files will be 1. | RecurringSplitAfterPage |
| File Naming* | String | File Naming of PDF file, the input must be in string format. | NameAsPerOrder |
Output
The PDF4me Split PDF REST API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:
- JSON
- Table
- Schema
- Binary
JSON Response Format
The raw JSON response from the API:
{
"splited Documents": "Splited documents array that contains documents list",
"File Name": "Output file name from the split action",
"File Content": "Output file content from the Split action"
}
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| splited Documents | Splited documents array that contains documents list |
| File Name | Output file name from the split action |
| File Content | Output file content from the Split action |
Schema View
The data structure and types of the response:
3 items
splited Documents: Array of Object Splited documents array that contains documents list
File Name: String Output file name from the split action
File Content: Binary Output file content from the Split action
Type Indicators:
Array of Object= Array of objectsString= Text dataBinary= Binary data
Binary Data View
The actual split PDF file data:
data
─────────────────────────────
splited Documents: Splited documents array that contains documents list
File Name: Output file name from the split action
File Content: Output file content from the Split action
Binary Data Access:
- PDF Content: Ready for download or further processing
- Split PDF: Complete PDF with page-based splitting applied
Request Example
Header
Content-Type: application/json
Authorization: YOUR_API_KEY
Note: Get your API key from the PDF4me Dashboard
Payload
{
"docContent": "Please put PDF base64 content",
"docName": "output.pdf",
"splitAction": "RecurringSplitAfterPage",
"splitActionNumber": 1,
"fileNaming": "NameAsPerOrder"
}
Code Samples
The PDF4me Split PDF REST API provides code samples in multiple programming languages. Choose the language that best fits your development environment:
- C#
- Java
- JavaScript
- Python
- Salesforce
- n8n
- Google Script
- AWS Lambda
Google Script Sample
Google Apps Script implementation for Google Workspace integration:
PDF Splitting Features
Page Processing
- Page Analysis: Intelligent page analysis and identification for splitting operations
- Page Control: Precise control over page selection and splitting criteria
- Multiple Formats: Support for various PDF formats and page structures
- Professional Results: High-quality page analysis with accurate splitting
- Advanced Processing: Support for complex page structures and splitting requirements
Document Splitting
- Automated Splitting: Split PDF documents based on page criteria and splitting rules
- Page Separation: Separate pages into individual PDF documents for precise control
- Intelligent Processing: Smart document splitting with page-based identification
- Professional Results: High-quality PDF splitting with accurate page separation
- Advanced Processing: Support for complex document structures and splitting requirements
Content Processing
- Quality Preservation: Maintain PDF quality during splitting operations
- Format Support: Support for various PDF formats and document types
- Professional Enhancement: High-quality PDF processing with accurate splitting
- Flexible Options: Customizable processing parameters for specific requirements
Industry Use Cases & Applications
- Use Cases
Use Cases
- Document Processing: Split large PDF documents into smaller files for easier management
- Page Management: Split PDFs by specific pages for targeted content delivery
- Report Processing: Split report PDFs by sections for automated content organization
- Invoice Processing: Split invoice PDFs by page ranges for automated accounting workflows
- Compliance: Split compliance documents by page sections for automated regulatory processing
- Workflow Automation: Automate PDF splitting workflows for enterprise operations
- Content Management: Split content documents by page ranges for automated organization
- Batch Processing: Process large volumes of documents with automated page-based splitting