Browse documentation
Documentation overview

Getting started

Recording

Editing

Teams

Agent tools

Build on Clipy

Trust and reliability

Recording format

Learn and reference

Docs · Webhooks

Clipy webhooks

Clipy sends a signed HTTPS POST to your server when something happens to one of your recordings. Use it to file a ticket the moment a bug report is ready, post summaries to a channel, start an agent run, or page someone when a teammate comments, without polling the API.

Quick answer

Clipy webhooks send a signed HTTPS POST to your server when one of your recordings is ready, when its transcript, summary or key moments land, or when someone comments. Add your https:// URL in Settings, Webhooks, choose the events and copy the whsec_ signing secret. Signatures follow the Standard Webhooks specification with HMAC-SHA256; verify the raw body before parsing it.

Set up an endpoint

  1. Open Settings, Webhooks and add your URL. It must be public and use https://.
  2. Choose the events it should receive.
  3. Copy the signing secret (it starts with whsec_) into your server's environment.
  4. Press Send test event and watch the delivery log for a 2xx.

Each account can have up to 10 endpoints. Webhooks are per account: they fire for recordings you own.

Events

TypeWhendata carries
recording.readyThe video finished processing and is playable.recording
recording.failedThe video could not be processed.recording
transcript.readyA transcript was produced or regenerated.recording, transcript { segmentCount, empty, language }
summary.readyThe AI summary, key points and chapters are ready.recording, summary { tldr, keyPoints, actionItems, chapters }
key_moments.readyKey moments with frames and pointer evidence are ready.recording, keyMoments { count }
comment.createdSomeone else commented on or replied in one of your recordings.recording, comment { id, parentCommentId, body, timestampMs, createdAt, author { name } }
recording.viewedSomeone new opened one of your recordings. Sent once per viewer, never for your own views.recording, viewer { signedIn }, viewCount
recording.deletedA recording was permanently deleted, from the app or the API.recording (its last state), deletedAt

The test button sends webhook.test, which no endpoint subscribes to. The author's email is never included in comment.created, and your own comments do not trigger it. recording.viewed fires once per new viewer and never names them; who watched is in the analytics dashboard and GET /api/v1/recordings/{id}/analytics. It is not sent for your own views, or for recordings where viewer analytics are turned off.

Payload

Every delivery is one JSON envelope. data.recording has exactly the fields of GET /api/v1/recordings/{id}, so a handler can call the REST API with data.recording.id for the full transcript or key moments.

{
  "id": "evt_Q2xpcHlfZXhhbXBsZV9ldmVudA",
  "type": "summary.ready",
  "createdAt": "2026-10-08T14:03:11.204Z",
  "data": {
    "recording": {
      "id": "abc123xyz",
      "name": "Checkout total is wrong after a coupon",
      "status": "ready",
      "stage": "annotating",
      "agentReadiness": "usable",
      "durationSeconds": 74,
      "webUrl": "https://clipy.online/video/abc123xyz",
      "thumbnailUrl": "https://cdn.clipy.online/...",
      "...": "the same fields as GET /api/v1/recordings/{id}"
    },
    "summary": {
      "tldr": "Applying SAVE10 shows the old total until refresh.",
      "keyPoints": ["..."],
      "actionItems": ["..."],
      "chapters": [{ "startSec": 0, "label": "Reproducing the bug" }]
    }
  }
}

Headers and signature

POST /your/endpoint HTTP/1.1
content-type: application/json
user-agent: Clipy-Webhooks/1.0 (+https://clipy.online/docs/webhooks)
webhook-id: evt_Q2xpcHlfZXhhbXBsZV9ldmVudA
webhook-timestamp: 1791468191
webhook-signature: v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=

Signatures follow the Standard Webhooks specification. The signed content is webhook-id.webhook-timestamp.body, the key is the base64 part of your secret after whsec_, and the algorithm is HMAC-SHA256. Verify against the raw body before parsing it, reject timestamps more than five minutes from your clock, and compare in constant time.

TypeScript (Node, Workers, Edge)

import { verifyWebhook, WebhookVerificationError } from "@clipy/sdk";

export async function POST(request: Request) {
  const body = await request.text(); // the raw body, before JSON.parse
  try {
    const event = await verifyWebhook(body, request.headers, process.env.CLIPY_WEBHOOK_SECRET!);
    if (event.type === "summary.ready") {
      await postToChannel(event.data.recording.webUrl, event.data.summary.tldr);
    }
    return new Response(null, { status: 204 });
  } catch (error) {
    if (error instanceof WebhookVerificationError) {
      return new Response("bad signature", { status: 400 });
    }
    throw error;
  }
}

Python

clipy-sdk is not on PyPI yet. Until it is, use the version without an SDK below.

from clipy_sdk import verify_webhook, WebhookVerificationError

@app.post("/clipy-webhook")
def clipy_webhook():
    try:
        event = verify_webhook(request.get_data(), request.headers, os.environ["CLIPY_WEBHOOK_SECRET"])
    except WebhookVerificationError:
        return "bad signature", 400
    if event["type"] == "comment.created":
        notify(event["data"]["comment"]["author"]["name"], event["data"]["comment"]["body"])
    return "", 204

Without an SDK

import crypto from "node:crypto";

function verify(rawBody, headers, secret) {
  const id = headers["webhook-id"];
  const timestamp = headers["webhook-timestamp"];
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;

  const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64");
  const expected = crypto
    .createHmac("sha256", key)
    .update(`${id}.${timestamp}.${rawBody}`)
    .digest("base64");

  // The header can carry several signatures during a secret rotation.
  return headers["webhook-signature"].split(" ").some((sig) => {
    const [version, value] = sig.split(",");
    return version === "v1" && value?.length === expected.length &&
      crypto.timingSafeEqual(Buffer.from(value), Buffer.from(expected));
  });
}

Responding, retries and limits

  • Answer with any 2xx within 10 seconds. Do slow work after responding.
  • Anything else, including a timeout or a redirect, is retried 8 more times over about 23 hours: after 30 seconds, 2 minutes, 10 minutes, 30 minutes, 1, 3, 6 and 12 hours. Redirects are never followed, so point the endpoint at its final URL.
  • Delivery is at least once, in any order. Dedupe on webhook-id, which is the same across retries and manual resends.
  • An endpoint that fails every retry for 15 deliveries in a row is turned off, and the settings page says why. Fix it, send a test event, then turn it back on.
  • The delivery log keeps 30 days of attempts with the status code, error and the first kilobyte of your response, and any delivery can be resent from there.

Rotating the secret

Rotate secret issues a new one immediately. For the next 24 hours each delivery carries two signatures, one per secret, so a receiver holding either keeps verifying while you deploy the new value.

Network rules

Clipy only delivers to public HTTPS addresses. URLs with credentials, internal hostnames, and anything that resolves to a private, loopback, link-local or carrier-grade NAT address are refused, both when you save the endpoint and on every delivery, so a DNS change cannot point webhooks at an internal network.

Frequently asked

Do I need webhooks if I already use the MCP server or CLI?

Only if something should happen without anyone asking. MCP and the CLI answer when an agent or a person reads. Webhooks push: a new bug report opens a ticket, a finished summary lands in a channel, a comment pages the owner.

Can I verify deliveries without your SDK?

Yes. Signatures follow the Standard Webhooks format, so the open source standardwebhooks libraries verify them in most languages, and the algorithm is a few lines of HMAC-SHA256 shown on this page.

Will I get the same event twice?

Possibly. Delivery is at least once: a timeout after your server processed the request, or a manual resend, delivers the same event again with the same webhook-id. Store the id and skip repeats.

Are events delivered in order?

Deliveries can arrive in any order. A summary.ready can arrive before the recording.ready for the same recording if the first delivery was retried. Branch on the recording's stage and agentReadiness fields rather than on arrival order.

Related: the REST API and SDKs, the MCP server, and the agent security model.

Reading this with an AI agent? The same page as Markdown: clipy.online/docs/webhooks.md