Merge and Split Documents using cURL

Document merge or split using simple cURL commands for REST APIs. Reliably rotate, tilt, change orientation, reorder document pages of any file format.

  • GroupDocs.Merger Cloud SDK for .NET
  • GroupDocs.Merger Cloud SDK for Java
  • GroupDocs.Merger Cloud SDK for PHP
  • GroupDocs.Merger Cloud SDK for Python
  • GroupDocs.Merger Cloud SDK for Ruby
  • GroupDocs.Merger Cloud SDK for Node.js
  • GroupDocs.Merger Cloud SDK for Android
Start Free Trial

GroupDocs.Merger Cloud API provides a solution to split and merge documents of all common business formats. Using cURL, you can perform many others operation by just sending requests to the REST API and receive responses to manipulate documents in the cloud. Supported file types include; PDF, Microsoft Word documents, Excel spreadsheets, PowerPoint presentations, OpenDocument formats, plain text and others.

Document Merger REST API Features

Combine multiple pages, slides or spreadsheets into a single document

Swap position of any two pages, slides or sheets within a document

Rotate pages by setting rotation angles like 90, 180 or 270 degrees

Split any document into smaller files

Remove any single or collection of specific pages

Change page orientation

Rearrange pages, slides or diagrams

Set, reset & remove password

Fetch list of supported file formats

Merge multiple documents

Using GroupDocs.Merger Cloud API, you can combine two or more documents into one document, or split any document into multiple smaller documents. Following simple cURL command shows how to merge two PDF files.

Merge PDF documents - cURL

curl -X POST "https://api.groupdocs.cloud/v1.0/merger/join" \
-H "accept: application/json" \
-H "authorization: Bearer TOKEN-HERE" \
-H "Content-Type: application/json" \
    -d "{ \"JoinItems\": [ { \"FileInfo\": { \"FilePath\": \"/foldername/doc1.pdf\", \"StorageName\": \"my Storage\" } }, { \"FileInfo\": { \"FilePath\": \"/foldername/doc2.pdf\", \"StorageName\": \"my Storage\" } } ], \"OutputPath\": \"/output/joined-document.pdf\"}

Support and Learning Resources

GroupDocs.Merger Cloud also offers individual document merger SDKs for other languages as listed below:

  English
262a188