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'}

                            Zoho Desk Resources

                            • Desk Community Learning Series

                            • Digest

                            • Functions

                            • Meetups

                            • Kbase

                            • Resources

                            • Glossary

                            • Desk Marketplace

                            • MVP Corner

                            • Word of the Day

                                Zoho Marketing Automation

                                        Manage your brands on social media

                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources

                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources

                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources

                                                            Zoho Sprints Resources

                                                              Qntrl Resources

                                                                Zoho Creator Resources

                                                                  Zoho WorkDrive Resources

                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series

                                                                      • Tips


                                                                      • Functions


                                                                      • Meetups


                                                                      • Kbase


                                                                      • Resources


                                                                      • Digest


                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner



                                                                          Design. Discuss. Deliver.

                                                                          Create visually engaging stories with Zoho Show.

                                                                          Get Started Now