Webhook integration

Last updated: March 26, 2021 Written by: Avatar Marta Szeliga
share
Table of contents
share
Table of contents

The new Webhook integration allows you to send data from the form using both the POST and GET methods - so you can choose the method that suits you best.

How to use Webhook integration?

1. Log in to your account in the Landingi platform. Then go to editing the selected landing page.

2. In the editor, go to form settings. On the left, enter the Integrations and choose integration with Webhook.

 

 3. In the Request URL field, enter the URL to which the form data will be sent.


4. In the Request method field, select the way you want to send data from the form: you can choose the POST or GET method.

5. Map the Landingi form fields with the fields on your server.

6. In the Request Headers fields, set the request headers that will be sent each time the form is sent. Remember that each heading consists of two parts: key and value, e.g.  API_KEY: 1234-abcd-5678, where the first field concerns key and the second - value.

7. In the Request parameters fields you can set additional parameters that will be sent together with the form. Similarly to headers, it consists of two parts: key and value, which should be completed. For example, if we have a form with an email field and we set one parameter source:landingi, then each time someone sends this form, the query will send data to the API:

email: marta@test.com (or what the user enters in the form)

source: Landingi

The request parameters perform almost the same function as the hidden fields in the form, but their advantage is that they are invisible from the page code.

share

Was this manual helpful?