How to Setup a Webhook with JotForm

Last Update: July 7, 2016

What is a Webhook?

A webhook is a technique used to send HTTP POST notifications to a URL. They can be used to connect apps together or just send data. Read more!

How to setup a Webhook?

To setup a webhook to your form, follow these steps.

1. Edit your form in the form builder

2. Click Integrations 


3. On the Integrations Wizard, search "Webhook" or filter the result in the dropdown with "Other".


4. Add your Webhook URL. Example:




To easily find out/debug a webhook request e.g. form field names & its sample data, you can use RequestBin(Runscope  is a good alternative too). Simply create a requestbin URL and set it as your form Webhook (as seen on the screenshot above). Make a sample submission to your form and requestbin will automatically collect the data and print it in a human-friendly way. 

 Example:

Here's an example PHP script that you may want to try on Webhook. This is a simple mailer script that will send the form submissions data to your email through Webhook http://pastebin.com/raw/AmG72bve. Make sure to replace the field names and emails with the one from your form, you can also add fields if you prefer.

You can find more useful scripts here: http://www.jotform.com/help/248-Webhook-Samples

If you have questions, post it below.


6 Comments...


   
mdevane (December 22, 2013 at 11:10 PM)

I am attempting to set up a direct integration to webmerge.me, but the problem appears to be the lack of ability on Jotform's end to generate the proper POST command with name/value pairs.

Am I missing an option somewhere or is the POST command simply immature at this time?

Thanks, Mark

View Answer


   
John Sheehan (January 06, 2014 at 11:56 AM)

Thanks for the link to RequestBin! We have additional tools for debugging webhooks as well (including those that let you capture and forward to your live endpoints). Be sure to check them out: https://www.runscope.com


   
leojh (August 08, 2015 at 12:37 PM)

Is is possible to set a secret key to authenticate against an API?

View Answer


   
Jakob (October 02, 2015 at 03:12 PM)

Will I get the users Public IP as well at my webhook endpoint? I really need that for geo-receverse his country....

View Answer


   
ankeshibs (August 22, 2016 at 02:07 AM)

Please provide me help step by step

View Answer


   
researchpaperstobuy (September 09, 2016 at 08:26 AM)

So where does this code above go to? To ASP default.aspx or?

View Answer


Send Comment