Konvo AI

Webhooks

A webhook tells your server that something changed in Konvo, so you don't have to poll. Konvo sends a signed POST to your URL with what changed — never the data itself. You then read the details through the Konvo API or the MCP server.

Set one up

Go to Settings → Advanced → Webhook endpoint:

  1. Enter a public https:// URL.
  2. Choose the events you want.
  3. Save, and copy the signing secret (whsec_…). It is shown once; Rotate secret makes a new one.
  4. Send test sends a webhook.test ping right away.

A webhook belongs to you, not to an organization: it pings for every organization you belong to, for what you can see there, while your MCP access is on.

Events

Event Read the details with
conversation.created get_conversation
conversation.updated get_conversation
message.created get_conversation
ai_agent.updated list_ai_agents
channel.updated list_channels
member.updated list_members
organization.updated list_organizations

The payload

{
  "id": "evt_6f1c…",
  "type": "conversation.updated",
  "organization_id": "org_01…",
  "resource": { "type": "conversation", "id": "8f3c…" },
  "occurred_at": "2026-11-11T10:00:00.000Z"
}

A ping says what changed, not how. Several quick changes to the same thing may arrive as one ping, and a ping may in rare cases arrive twice or not at all, so treat it as "go and look", and make reading idempotent.

Verify the signature

Every request carries:

  • Konvo-Signature: t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of "<t>.<raw body>" with your signing secret.
  • Konvo-Event-Id: the event's id.

Check the signature on the raw body, and refuse a timestamp older than five minutes so a captured request can't be replayed:

import { createHmac, timingSafeEqual } from "node:crypto";

export function verifyKonvoSignature(
  header: string,
  rawBody: string,
  secret: string,
): boolean {
  const parts = Object.fromEntries(
    header.split(",").map((part) => part.split("=") as [string, string]),
  );
  const timestamp = Number(parts.t);
  if (!Number.isFinite(timestamp)) return false;
  if (Math.abs(Date.now() / 1000 - timestamp) > 300) return false;
  const expected = createHmac("sha256", secret)
    .update(`${timestamp}.${rawBody}`)
    .digest();
  const given = Buffer.from(parts.v1 ?? "", "hex");
  return given.length === expected.length && timingSafeEqual(given, expected);
}

Delivery

  • Answer with any 2xx within 10 seconds.
  • A failed delivery is retried with growing waits for about an hour.
  • An endpoint that keeps failing for 72 hours is switched off; Settings says so, and saving it again switches it back on.

Was this article helpful?