Articles on: Integrations

Understanding Webhook Functionality

What are Webhooks?



Webhooks are a method of augmenting or altering the behavior of a web page, or web application, with custom callbacks. They allow one application to send real-time data to other applications, which get the data as soon as it's available. This means that you can automatically trigger an action on another app whenever a specific event happens on Kiwify.

For example, you could use a webhook to automatically add a row to a Google Sheets spreadsheet every time a purchase is approved on Kiwify.

However, webhooks do require a bit of programming knowledge to set up, so we recommend creating them only if you're confident in doing so.

Kiwify sends webhooks in JSON format.

How to Create a Webhook



On the Apps menu, click on Webhooks. Then click on Create Webhook.



A tab will open on the right side of your screen, where you can configure your webhook. Select the product and the events that should trigger the webhook. Then just click Create.



Testing the Webhooks



We recommend using a free service like https://requestbin.com/ to generate a URL and receive test webhooks.

After saving a webhook, simply click the Test Webhook button to fire test events.



Checking Your Webhook Logs



You can check your webhook logs by clicking on the three dots on the right side of your webhook and selecting the View logs option.

You can change the date of view in the upper right corner.

If a log fails, you can resend it by clicking on the three dots next to the log or by selecting it and clicking the Resend webhooks button.

To view the request and response of each log, click on See logs in the same menu.

Updated on: 09/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!