RealtimeKitWebhook
Source:
src/Cloudflare/RealtimeKit/Webhook.ts
A Cloudflare RealtimeKit webhook — receives meeting, recording, livestream, transcript, and summary events for a RealtimeKit app.
Name, URL, events, and enablement are all mutable in place; only moving the webhook to a different app forces a replacement.
Creating a Webhook
Section titled “Creating a Webhook”Meeting lifecycle events
const app = yield* Cloudflare.RealtimeKitApp("Meetings", {});
const webhook = yield* Cloudflare.RealtimeKitWebhook("Lifecycle", { appId: app.appId, url: "https://example.com/webhook", events: ["meeting.started", "meeting.ended"],});Recording events to a Worker
const webhook = yield* Cloudflare.RealtimeKitWebhook("Recordings", { appId: app.appId, url: worker.url, events: ["recording.statusUpdate"],});Updating a Webhook
Section titled “Updating a Webhook”const webhook = yield* Cloudflare.RealtimeKitWebhook("Lifecycle", { appId: app.appId, url: "https://example.com/webhook", events: ["meeting.started", "meeting.ended"], enabled: false,});