To create a Webhook on the KOMPaaS website, go to the ‘Integrations’ section → ‘Webhooks’ tab, and click the ‘New Web Hook’ button.
In the modal window that opens, select the Webhook event type and click ‘Create’.
Configure the Webhook Settings:
Title — the name of the Webhook;
URL — the address where the Webhook request will be sent;
Retry if error — enabled by default. It is recommended to keep this option enabled.
Choose a method — request types: GET or POST:
- GET — retrieves data from a specified resource (website);
- POST — sends data to the server for further processing.
Select the data type — choose between JSON or Text:
JSON — structured data in JSON format;
Text — freeform text that can be customized as needed in any format or structure.
Available parameters — event-specific parameters. You can add them to any Webhook settings by clicking on them.
User parameters — additional parameters that will be added to the JSON structure along with the selected blue check marked variables above.
Query parameters — URL Query Parameters provide additional information that can be added to the URL. These consist of a parameter and its value, separated by an equals sign (=).
- Example:
https://site.com/?first_param=first_value&second_param=second_value
- Example:
Headers (HTTP Headers) — lines of text in a specific format that either clarify the request or describe the message body content.
After completing the settings, click ‘Save’.
More details on request types:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article