Skip to main content

Webhooks

Kaanha AI can send real-time event notifications to your server via outgoing webhooks. This allows you to integrate with any backend system, CRM, or automation tool.
This page is about outgoing webhooks you configure to receive events from Kaanha AI. It’s unrelated to the many inbound webhooks Kaanha AI itself receives from providers (WhatsApp, Stripe, Shopify, Twilio, and others) to make the platform work — those aren’t something you configure.

Setting Up a Webhook

  1. Go to Integrations → Webhooks → Add Webhook
  2. Enter:
    • Name: Descriptive label (e.g., “CRM Sync”)
    • URL: Your server endpoint (must be HTTPS, publicly accessible)
    • Events: Select which events to subscribe to
    • Secret: Optional — used for HMAC signature verification
  3. Click Save. Use the Send test event action on the saved webhook to fire a test.ping event and confirm your endpoint is reachable — a webhook isn’t tested automatically just by saving it.

Event Types

This is the complete event catalog today — if you need something else covered (e.g. contact-created, broadcast-completed), use an Automation Rule instead: automations can fire on many more triggers (contact/deal/order/pipeline events) and include a generic Webhook action, giving you a webhook call for events not in the list above.

Payload Format

All events are delivered as POST requests with Content-Type: application/json.

Example: message.received

Example: message.status


HMAC Signature Verification

If you set a Secret on your webhook, Kaanha AI signs every request with HMAC-SHA256. The signature is sent in the X-Webhook-Signature header:

Verification Example (Node.js)


Retry Policy

If your server returns a non-2xx response, Kaanha AI retries up to 3 times with a short backoff (roughly 1s, then 4s, then 16s) — all within the same delivery attempt, not spread out over minutes. A 4xx response is treated as a permanent rejection and is not retried at all, since it usually means something about the request itself needs fixing on your end, not a transient failure. After all retries are exhausted, the delivery is marked as failed and logged — there’s no later automatic redelivery for this feature, so if your endpoint is down for the whole retry window, that event is gone for good. (This is distinct from Automation Rules with a Webhook action, which fail into a separate retry queue and are periodically replayed — see the Automations DLQ banner if you’re using automation-triggered webhooks instead of this page’s IntegrationWebhook feature.)

Webhook Logs

View delivery history for each webhook in Integrations → Webhooks → [Name] → Logs:

Zapier / Make / n8n Integration

Kaanha AI supports direct integration with no-code automation platforms. Discovery endpoint (for custom apps):
Returns all available triggers and actions for platform discovery. For Zapier: use the Webhooks by Zapier trigger with your Kaanha AI webhook URL. For Make (Integromat): use the Webhooks module.