How to Set Up a Webhook With Jotform

Last Update: 

Webhook allows you to automatically send your form data to your endpoint or other apps. This guide shows how to set up a webhook with your form.

To add a webhook and send submission data to your endpoint

  1. In Form Builder, click on Settings at the top.
  2. Next, choose Integrations on the left.
  3. Search and select WebHooks.
webhook integration form builder
  1. Now, enter your endpoint or webhook URL in the Add WebHook field.
    Note: To add more endpoints, click on Add New WebHook.
  2. Finally, click the Complete Integration button.
complete webook integration

Here’s an example PHP script that you can use to test your webhook. This simple script will save your form entries to a text file that you can use for debugging purposes:

<?php
// convert JSON to PHP
$data = json_decode($_REQUEST['rawRequest'], true);

// write data to a file
file_put_contents('webhook_test.txt', print_r($data, true), FILE_APPEND);
?>

To view more examples, see Webhook PHP Script Examples.

Notes:

  • Jotform has a 30-second request timeout.
  •  Encrypted forms can only send encrypted data.
  • The endpoint may have limitations that would prevent the request from being processed. These include, but are not limited to:
    • Timeout to close the connection on the endpoint.
    • The maximum size of data accepted may be lower than the submission data.
    • Firewall rules on the endpoint.
Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • Faiz Uddin - Profile picture
  • Gabriele Sannicandro - Profile picture
  • Kurniawan Sugi Purwanto - Profile picture