How do I create a new spreadsheet in Zoho Sheet? Any sample codes?

How do I create a new spreadsheet in Zoho Sheet? Any sample codes?

To create a new spreadsheet, please leave the "content" or "url" parameter in the Edit API request as blank. Zoho Sheet will create a new spreadsheet by default if no content is provided in the Edit request.

HTML Sample Code:

<form method="POST" action="https://sheet.zoho.com/sheet/officeapi/v1/spreadsheet" target="_self" accept-charset="UTF-8">

    <input type="hidden" name="apikey" value="423s*****">
    <input type="hidden" name="mode" value="normaledit">
    <input type="hidden" name="filename" value="New Spreadsheet">
    <input type="hidden" name="lang" value="en">
    <input type="hidden" name="id" value="1 138859911">
    <input type="hidden" name="format" value="xlsx">
    <input type="hidden" name="saveurl" value="https://zylker.com/save.php">
    <input type="submit" name="submit" value="Create New Spreadsheet">
</form>


Curl Sample Code:

curl -X POST \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -F apikey=423s***** \
  -F 'editor_settings={'\''language'\'':'\''en'\'','\''country'\'':'\''IN'\''}' \
  -F 'permissions={'\''document.export'\'':true,'\''document.print'\'':true,'\''document.edit'\'':true}' \
  -F 'callback_settings={'\''save_format'\'':'\''xlsx'\'','\''save_url'\'':'\''https://zylker.com/save.php/'/''}' \
  -F 'document_info={'\''document_name'\'':'\''New Spreadsheet'\'', '\''document_id'\'':138859911}' \
  -F 'user_info={'\''display_name'\'':'\''Keri'\''}'

You can also build and test create new spreadsheet requests right from your browser with Office Integrator Postman Collection.

    • Related Articles

    • Create a new spreadsheet in Zoho Sheet

      To create a new spreadsheet:   Click on the File menu. From the drop down, choose New Spreadsheet. Alternatively, from the Zoho Sheet Listing Page, click on the "New Spreadsheet" on the right top. ​If you're trying to create a new spreadsheet from ...
    • Sample Codes - Java SDK

      All of Zoho CRM's APIs can be used through the Java SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...
    • Sample Codes - Python SDK

      All of Zoho CRM's APIs can be used through the Python SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...
    • Sample Codes - C# SDK

      All of Zoho CRM's APIs can be used through the C# SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...
    • 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: <form method="POST" ...