Free Support Forum -

How to replace text in PowerPoint Slides with Aspose.Slides Cloud SDK for PHP

The API documentation ( shows a API call POST /slides/{name}/replaceText to replace all text. It looks like the API is really named POST SlidesPresentationReplaceTextRequest (with Presentation in the name).

Is this the correct API?


Thanks for your inquiry. Yes, you are right following two APIs are used to replace text. Please feel free to contact us for any further assistance.

POST /slides/{name}/replaceText
Replace text in presentation - PHP example

POST /slides/{name}/slides/{slideIndex}/replaceText
Replace text in specific slide - PHP example