Create document & Update document end points for Zoho Sign API

Create document & Update document end points for Zoho Sign API

Hi Zoho,

Could you please help me. I am using the Zoho Sign API with python.

I can upload documents fine. However, when trying to update said document the API seems to reject the json, despite it being the same as the Zoho Sign | API Reference. See below example of a very simple query to update the request_name.

  1. url = 'https://sign.zoho{0}/api/v1/requests/{1}'.format(data_centre, document_number)
  2. header = { 'Authorization': 'Zoho-oauthtoken {0}'.format(access_token)}
  3. data = {
  4.                 "requests": {
  5.                     "request_name": "NDA ",
  6.                 }
  7.  }

  8. response = requests.put(url, headers=header, data=data)

However, despite what json I enter, I get the following error. Which implies to me that the API doesn't like the 'requests' key. Can you please confirm that this json structure in the example is correct? Is the error in my code or the API end point?

{'code': 9015, 'error_param': 'requests', 'message': 'Extra key found', 'status': 'failure'}

    • Sticky Posts

    • Free webinar! Build smarter apps with Zoho Sign and Zoho Creator

      Hello, Bring the power of digital signatures to the apps you build in Zoho Creator! Connect Zoho Sign as a microservice and enable seamless e-signature workflows in your applications. This integration allows you to automate signing tasks using Deluge.

    Nederlandse Hulpbronnen