Conversion API
Purpose
To convert a document to any Show supported format.
Zoho Show's conversion API lets you easily integrate document conversion functionality to web applications and content management systems. The conversion API allows you to convert a file format (say pptx) to another file format (say ppsx or odp). Zoho Show supports all popular file formats for conversion like pptx, pps, ppsx, odp, pdf and sxi.
Quick Reference
| Property | Value |
|---|---|
| Method | POST |
| Request URL | https://{api.office-integrator_domain}/show/officeapi/v1/presentation/convert |
| Content-Type | multipart/form-data |
Parameters
Request Parameters
| Parameter | Data Type | Mandatory / Optional | Description |
|---|---|---|---|
| apikey | 423s***** | Mandatory | Uniquely identifies the web application which initiates the presentation conversion request. |
| document or url | File or String | Mandatory | Method of providing the input file depending on its location. document - if the input file is from your local drive or desktop. url - if the input file is from a publicly accessible Web URL. |
| format | String | Mandatory | Output file format, to which the file should be converted. Supported file formats are listed here. |
| password | String | Optional | Specify the password for the input file when importing a password-protected document using this parameter. |
Notes and Limits
- Users will get a response of the converted presentation in the form of bytes.
- For possible error codes, refer to Error Codes.
Sample Request
Copiedcurl --request POST \
--url 'https://api.office-integrator.com/show/officeapi/v1/presentation/convert?apikey=423s*****' \
--header 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
--form document=@/Users/username/Presentation/Sample.pptx \
--form format=pptx \
--form password=a1b2c3****