Document merge or split using simple cURL commands for REST APIs. Reliably rotate, tilt, change orientation, reorder document pages of any file format.
Start Free TrialGroupDocs.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.
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.
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\"}