Is there a way to user remote API to export as pdf or htm?

Is there a way to user remote API to export as pdf or htm?

I checked docs, seems like to export to pdf user must click Save in Zoho editor and then in the doc was opened with pdf parameter as file type Zoho will send me pdf file to save url? Is that right?

Is there a automated way to export office docs to pdf (or html?)