Webhook JSON Post Error

Webhook JSON Post Error

I'm attempting to create a webhook that sends an HTTP request to create a contact using Freshdesk's API (http://developer.freshdesk.com/api/#contacts), which is pretty straightforward.

I've been able to create new contacts on Freshdesk with a Ruby script, but I cannot get it to work with the webhook on Zoho. Below  are the three issues I'm hoping that I'm politely requesting that someone please walk me through simply, without pointing me to yet another Zoho reference page that doesn't answer my question or re-states the issues. This is  most frustrating and is truly our last attempt with Zoho. There is not one example that details how to implement a solution like this on the entire site.

1) Header: How does one Set Content-Type in message header to "application/json"?

2) Authentication: FreshDesk uses Basic Access Authorization.
(https://freshdesk.com/api#authentication). Using basic auth for authentication (it appears Zoho only lets you add param=value pairs)

3) Message Body in JSON Format - The message body of the post request has to be sent in JSON format. In addition, the nested JSON is required. Specifically, the parameters have to be sent in JSON rather than in simple key = value pairs.
  • Sending params as json in the message body and nesting json for the custom_fields required by freshdesk
Bottom line, there's no way I can figure any of this out without talking to someone in support for  Zoho. I don't think email exchange will get us anywhere.

If there was a way I could insert a script via custom function to send the post request with code, that would make this whole thing easier, but Zoho uses deluge scripts, which I'm not sure even support http post requests----and do not have time, nor interest in learning politely.

I'm happy to speak with a Zoho Rep on the phone if it will help expedite things. 

    Access your files securely from anywhere







                            Zoho Developer Community




                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts



                                                            • Sticky Posts

                                                            • Free Webinar - Digital signatures for digital contract management with Zoho CRM

                                                              Hi, Did you know you can seamlessly send and collect signatures on important business documents like business proposals, vendor agreements, sales contracts, invoices, and other inventory documents with Zoho Sign’s extension for Zoho CRM? Join our upcoming
                                                            • New User Interface for your Email integration in Zoho CRM

                                                              Hello folks,  As most of you may already know, Zoho Mail recently got a new user interface that's a lot better and easier to use. As a result, this change will affect your email integration with your Zoho CRM account**.  If you have your email integration in Zoho CRM set up through POP, your Emails UI in CRM will be moved to the new Zoho Mail UI. We hope that you like the new and improved Emails interface inside Zoho CRM. Feel free to share your feedback by commenting below.  **Please note that,
                                                            • Fetching leads from Zoho CRM into Zoho Creator, automatically

                                                              I'd like to pull new leads from the CRM system, into Creator, on a daily basis. Is this possible?   Yes, it is possible. Zoho Creator and Zoho CRM are integrated with each other, enabling you to synchronize data between them. This is done by fetching records from CRM into a Zoho Creator form. In order to achieve this, you'll have to configure a workflow alert in Zoho CRM.  For instance, you can maintain the lead details in CRM on a separate form in Zoho Creator by fetching the details automatically


                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner









                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources

                                                                                              Zoho Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ



                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方