How to Use Webhooks on Kajabi

Bryan N.

Updated

Webhooks are a means of automatic communication between applications, allowing your online accounts to "communicate" to each other by giving and receiving information triggered by an action. Learn how to use Inbound and Outbound Webhooks with Kajabi.

Note
Webhooks on Kajabi are exclusively accessible for Heroes on the Growth and Pro subscription plans. Learn how to upgrade your Kajabi subscription plan here.

In this article:


Accessing webhook URLs

Each Offer has an Activation and Deactivation Webhook URL.

Locate your Offer Activation & Deactivation Webhook URL for individual Offers:

  • Open the Sales tab from the Dashboard.
  • Then, select your Offer.
  • Click the More Actions dropdown.
  • Select Webhooks:

Enter your Purchase Webhook URL for individual Offers to send information from individual Offers to your third-party application.

Locate your Purchase Webhook URL for your site:

  • Open the Settings tab from the Dashboard.
  • Click Checkout Settings.
  • Navigate to Webhooks:

Enter your Purchase webhook URL in your checkout settings to send information from every Offer on your site to your third-party application.


Inbound webhooks

An Inbound Webhook allows your Kajabi site to collect information from an outside application.

On Kajabi, you can choose between an Activation Webhook and a Deactivation Webhook

Activation Webhook URL

The activation webhook will trigger access to Kajabi based on an action made in an outside application.

The most common use for this webhook is granting an Offer to a customer when the offer was purchased through a payment processor other than Stripe or Paypal.

Deactivation Webhook URL

If the Deactivation Webhook URL of a specific Offer is used, it will revoke access to all Products associated with that Offer.

This Webhook is most commonly used when a customer of a subscription Offer stops making payments through a payment processor other than Stripe or Paypal.

95540666-5F7B-4CEB-8180-EA8B8D845FA8.png

Required Parameters

Kajabi requires that the received information from connected third-party apps include these Parameters to trigger Activation or Deactivation: Name, Email Address, and External_User_ID (in many cases, the external_user_id will be the email address repeated).

View your Webhook Log Entries

Once you have connected your webhook, you can view your webhook log entries.

To view your webhook log entries, click into the link beneath the Deactivation URL.

There you will find your connected webhooks with data including ID, Status, Request UUID, Params, Errors, and It's created at time and date. 

Kajabi_-__admin_offers_519717_webhook_log_entries.png


Outbound webhooks

An Outbound Webhook can be used when you would like to send information to a third-party application. Learn more.

On Kajabi, you have the option to enable a Purchase Created webhook, a Purchase Succeed webhook, and a Cart Purchase webhook.


Purchased Created Webhook

Purchase Created webhooks are used to keep track of successful purchases on Kajabi.

For this webhook, third-party apps will provide a Purchase Webhook URL.

This webhook sends information to connected third-party applications when a customer purchases a one-time offer or for their first payment of a subscription or multiple-payment offer. Please note that this does not include purchases made through Kajabi Cart.

To set up the Purchase Create webhook:

  • You’ll need to obtain the Purchase Webhook URL for the third-party application you would like to connect. Once you’ve obtained the Purchase Webhook URL from the third-party application, from your Kajabi Dashboard, navigate to the Sales tab.
  • Next, click on Offers.
  • Select which offer you would like to set up the Purchase Created Webhook on. 
  • Now, click on the “...” menu, and then select Webhooks.
  • Under Purchase Webhook URL enter the third-party application URL.
  • Click Sale to finish setting up the Purchase Created webhook:

Note:
The Purchased Created Outbound Webhooks are triggered only upon the purchase of an Offer and will not be triggered if an Offer is granted, or for subsequent transactions related to a multipay or subscription offer.

Cart Purchase Webhook 

Cart Purchase webhooks are used to keep track of the total sales of your Kajabi Cart orders. 

This webhook sends information to a connected third-application when a new Cart order is successful.

To set up the Cart Purchase Webhook:

  • From your Kajabi Dashboard, navigate to Settings.
  • In Settings, click Third Party Integrations and Webhooks.
  • Select the Webhooks tab.
  • Click Create Webhook.
  • In Create Webhook, select the Cart Purchase event.
  • In the Endpoint URL tab, enter your third-party application URL.
  • Click Add Webhook to finish setting up the Cart Purchase Webhook:


Payment Succeeded Webhook

Payment Succeeded webhooks are used to keep track of total sales on your Kajabi site. 

This webhook sends information to a third-party application whenever a sale is made. This includes successful purchase offers, as well as subsequent successful payments for subscription and multiple payment offers. Cart orders are also included.

To set up the Payment Succeeded Webhook:

  • From your Kajabi Dashboard, navigate to Settings.
  • In Settings, click Third Party Integrations and Webhooks.
  • Select the Webhooks tab.
  • Click +Create Webhook.
  • In +Create Webhook, select the Payment Succeeded event.
  • In the Endpoint URL tab, enter your third-party application URL.
  • Click Add Webhook to finish setting up the Payment Succeeded Webhook:


Form Webhooks

A Form Webhook will allow you to gather information and trigger an automation when a Form is submitted.

Once you have set up a Form Webhook in a third-party application, such as Zapier, you will need the webhook URL.

To find the webhook URL in Zapier:

  • Select the webhook you want to attach to your Form.
  • Select the share button in the upper right corner.
  • Copy this webhook URL:

To add the Webhook URL to your Kajabi Form:

  • Open the Marketing tab from your Dashboard.
  • Select the Forms tab.
  • Click into the Form you wish to add the Webhook URL to. 
  • Select the More Actions menu  (), and select Webhooks
  • Paste your Webhook URL into the field.
  • Remember to press Save to keep and apply your changes:


Offer grant confirmation

Normally, when you grant an Offer to a user it will send them an Offer Grant Confirmation email if the customer is subscribed to your marketing emails.

This is an email automatically sent by Kajabi letting the user know what they have purchased or been granted.

However, this email will not automatically send when the Offer is granted via the Activation Webhook URL.

In order to send the Offer Grant Confirmation email when using the Activation Webhook URL, simply add this text to the end of your Activation Webhook URL:
?send_offer_grant_email=true.

Here's an example:

https://checkout.newkajabi.com/webhooks/offers/XXXXXXXXX/00000/
activate?send_offer_grant_email=true

An example payload would look like:

{ “name”: “John Doe”, “email”: “jdoe@example.com”, “external_user_id”: “ext_123", }


Troubleshooting webhooks

If you are having an issue connecting your webhook, follow along with our troubleshooting webhooks guide: Troubleshooting Webhooks.

And that's how to use webhooks on Kajabi! Please vote below and let us know if you found this article helpful. We value your feedback. Thanks for being the best part of Kajabi!

Did you find this article helpful?