How to Send Submission Data via a Webhook

February 7, 2024

This guide shows how to send your form fillers’ data via a webhook to your endpoint or other apps.

To send your form’s submission data via a webhook

  1. In the Form Builder, go to Settings at the top.
  2. Select Integrations on the left.
  3. Search and select WebHooks.
Steps to access WebHooks integration in Jotform Form Builder
  1. Enter your endpoint or webhook URL.
    Note: To add more endpoints, select Add New WebHook.
  2. Once you’re done, select Complete Integration at the bottom.
The Webook integration configuration page in Jotform Form Builder

Notes

  • The WebHooks integration has a 30-second request timeout.
  •  Encrypted forms can only send encrypted data.
  • The endpoint may have limitations that could 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.

Here’s an example PHP script that you can save and use as an endpoint to test your webhook. This script saves 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);
?>


See also: How to Send Submission Data via a POST Request.

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:

  • Sam Nat - Profile picture
  • Nenad Matic - Profile picture
  • Keith Miller - Profile picture
  • Siniša Bronić - Profile picture
  • Jaime Isaac Bojorquez Guerrero - Profile picture
  • Faiz Uddin - Profile picture
  • Gabriele Sannicandro - Profile picture
  • Kurniawan Sugi Purwanto - Profile picture