Webhook
What's a webhook ?
A webhook is a function allowing to recover and store the data generated following an event. The webhook allows you to save a URL on which the data relating to the event can be stored.
Create your webhooks
From your back-office, go to Settings> Notifications.
Scroll down to the webhook section.
Click on Create a webhook.
Select the event you want to listen.
New user : A webhook is sent to each new inscription
User update : A webhook is sent to each update of user's profile
Deleted user : A webhook is sent to each account deleted
New listing : A webhook is sent to each listing creation
Listing updated : A webhook is sent to each listing update
Listing deleted : A webhook is sent to each listing deleted
New order : A webhook is sent to each new order
Order update : A webhook is sent to each order update
Order paid : A webhook is sent to each order paid
Order deleted : A webhook is sent to each order deleted
On the URL field, fill the URL where you want that data will be saved.
Click on save, your webhook is now visible in "Webhook" section.
Delete a webhook
From your dashboard, go to Settings> Notifications.
Scroll down to the webhook section.
To the right of the webhook you have created, a small red trash can icon appears.
Click on the trash to delete your Webhook.
Multiple webhooks for the same event
Kreezalid does not support multiple webhooks for the same event.
As a workaround solution to handle this limitation, you can use Webhook Relay Service.
Instead of setting up two webhooks directly in Kreezalid, create a single webhook pointing to a centralized endpoint. This endpoint can be a small server or a serverless function, like AWS Lambda, Google Cloud Functions, or Azure Functions.
Once this centralized endpoint receives the webhook payload from Kreezalid, it can then forward (relay) this payload to the two (or more) URLs that you originally intended.
This solution might require some development skills to set up, but once in place, it can effectively bypass the limitations and provide you with more flexibility.
Updated on: 22/09/2023
Thank you!