The API documentation (Aspose.Slides Cloud - API References) 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?
@klubar
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