Merge Selected Slides into a Presentation in Storage


The article shows you how to merge PowerPoint presentations saved to a storage. You can merge entire presentations or specify separate slides. For protected presentations, passwords can be specified.

API Information

API Type Description Resource
/slides/{name}/merge PUT Merges a presentation with other presentations or some of their slides. OrderedMerge

Request Parameters

Name Type Location Required Description
name string path true The file name of the initial presentation into which other presentations are merged.
request object body true The information about presentations to merge (paths, passwords, slide indices, etc.).
password string header false The password to open the initial presentation.
folder string query false The storage folder path where the initial presentation was saved.
storage string query false The storage name where the initial presentation was saved.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

Merging Selected Slides

Example: Merge MyFolder/MyPresentation.pptx document with the second slide and the first slide from MyResources/example.pptx presentation. Both presentations were saved to a default storage. Use mypassword01 string to open the second presentation.

cURL Solution

SDK Solutions


Using an SDK (API client) is the quickest way for a developer to speed up development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Slides Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.