Generic WebhooksPro
Freeform's Generic Webhooks feature allows you to generate and POST the JSON from the Freeform submission data off to your own custom endpoint. It also contains a few form identifying entries.
This documentation resource assumes you are familiar with what is necessary to connect Freeform data with a webhook from an external service, whether it's third party service or your own custom one, etc. For that matter, we cannot provide any assistance with setting this up, aside from the basics, and letting you know what kind of data to expect.
Setup Instructions
1
Set up the Webhook on your site
- Go to the Webhooks section in Freeform Settings (Freeform → Settings → Webhooks)
- Click the New Webhook button at the top right.
- For Type, select Generic.
- Enter a name for the Webhook Name field.
- Add the webhook URL from your external source into the Webhook URL field in Freeform.
- Select the form(s) you want this Webhook to apply to in the Forms field.
- At the top right corner of Freeform page, click Save button.
2
Verify the Webhook
- Try submitting one of your forms that uses this webhook, and check if Freeform posts successfully to your custom endpoint.
Finished!
Example Output
{
"form": {
"id": 7,
"name": "My Form",
"handle": "myForm",
"color": "#807447",
"description": "",
"returnUrl": ""
},
"id": 618,
"dateCreated": {
"date": "2019-07-09 08:05:22.000000",
"timezone_type": 3,
"timezone": "America/Los_Angeles"
},
"uid": "1880fb76-d616-4c37-ac02-fc0c1765f349",
"token": "nzkfa6VCY0YzOwnIkHMyJ8pEEHx2qu8llRCdL9u8wGLr7iMrokPypRp8F0lQwfm6zLibTXKKihdCJ1V4Iq5uprtyajz7MGtXVUq2",
"firstName": "Bob",
"lastName": "Smith",
"email": "bob@smith.test",
"acceptTerms": "1"
}