How to use Webhooks in Knorish

Created by Rishabh Pandey, Modified on Wed, 9 Oct at 5:32 PM by Prerak Jain

Webhooks are a powerful feature within Knorish that provides near-real-time information about specific events as they happen in your account. They allow you to automate workflows, share data, or build custom apps by sending an HTTP request to an endpoint you provide whenever a specific event occurs. Unlike regular API calls, which require you to poll for changes, webhooks push data to you automatically, making them more scalable and efficient.

Table of content

How Do Webhooks Work?

Webhooks work on an event-based system, meaning they are triggered by specific actions within your Knorish account. For example, you can set up a webhook to send data to a third-party tool every time a user completes a course or makes a purchase. Once the event occurs, Knorish sends an HTTP POST request to the endpoint URL you provided, containing relevant data about the event.

Webhooks Available in Knorish

Knorish offers several event types that you can subscribe to via webhooks:

Webhook Event

Description

Contact Form Submitted

Triggered when a visitor submits a contact form.

Course Completed

Triggered when a student completes a course.

New Signup

Triggered when a new user signs up on your platform.

Course Purchased

Triggered when any course is purchased.

Bundle Purchased

Triggered when any bundle is purchased.

Live Session Joined

Triggered when a student joins a live session.

Course Abandoned Cart

Triggered when a user abandons their cart and doesn't complete the transaction.

Bundle Abandoned Cart

Triggered when a user abandons their cart before purchasing a bundle.

How to access Webhooks section on Knorish and add yours?

Here's how to access the Webhooks section on your account:

  • Login your account
  • Access your publisher dashboard
  • Click Settings < Webhook
  • Choose from the list of webhooks available
  • Click Test & Save to test your webhook and save the settings

Important consideration:

  • Endpoint Availability: Ensure that your endpoint is highly available to prevent any message loss. If your endpoint is down or unavailable when the event occurs, the data sent by the webhook may be lost.
  • Testing Webhooks: For testing purposes, you can use services like webhook.site to view the payload and understand its structure.
  • Webhooks and the Knorish API are advanced features. They typically involve the use of third-party applications and custom coding. While Knorish provides the tools necessary to set up and manage webhooks, our support team cannot offer assistance with third-party applications or custom code integrations.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article