How do I create a new presentation in Zoho Show? Any sample codes?
To create a new presentation, please leave the "document" or "url" parameter in the Edit API request as blank. Zoho Show will create a new presentation by default if no content is provided in the Edit request.
HTML Sample Code:
<input type="hidden" name="apikey" value="423s*****">
<input type="hidden" name="permissions" value='{"document.export":true,"document.print":true,"document.edit":true}'>
<input type="hidden" name="editor_settings" value='{"language":"en"}'>
<input type="hidden" name="callback_settings" value='{"save_format":"pptx","save_url":"https://zylker.com/save.php ","context_info":"Doc/User Info"}'> <input type="hidden" name="document_info" value='{"document_name":"New Presentation", "document_id":"10054809"}'>
<input type="hidden" name="user_info" value='{"user_id":"1000", "display_name":"Keri"}'>
<input type="submit" name="submit" value="Create New Presentation">
</form>
Curl Sample Code:
curl -X POST \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F apikey=423s***** \
-F 'editor_settings={'\''language'\'':'\''en'\''}' \
-F 'permissions={'\''document.export'\'':true,'\''document.print'\'':true,'\''document.edit'\'':true}' \
-F 'document_info={'\''document_name'\'':'\''New Presentation'\'', '\''document_id'\'': 10054809}' \
-F 'user_info={'\''user_id'\'':'\''1000'\'','\''display_name'\'':'\''Keri'\''}'
You can also build and test create new presentation requests right from your browser with Office Integrator
Postman Collection .