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: The critical role of electronic signatures in HR

        Hello everyone, Businesses and organizations have started implementing electronic signatures across departments, and human resources is no exception. Employee and employer signatures are crucial in HR processes, as they serve as an acknowledgment of critical
      • Zoho Sign: Product updates - Mid - 2024

        Hello, everyone! We've crossed the halfway point in 2024, and here's what Zoho Sign has been up to lately. We've been part of several Zoho User Groups, and we've started creating video content for our developers. Along with this, we have once again been