Skip to content

RealtimeKitApp

Source: src/Cloudflare/RealtimeKit/App.ts

A Cloudflare RealtimeKit app — the organizational container for RealtimeKit meetings, presets, and webhooks.

RealtimeKit (the acquired Dyte platform) is in beta and must be enabled on the account. The API is create-only today: there is no update and no delete endpoint. Destroying the resource therefore only forgets the app from state (with a warning) — the app itself remains on the account until Cloudflare ships a delete API. Because of this, an existing app with the same name is adopted rather than duplicated.

Basic app

const app = yield* Cloudflare.RealtimeKitApp("Meetings", {
name: "my-meetings-app",
});

Child resources

const app = yield* Cloudflare.RealtimeKitApp("Meetings", {});
const webhook = yield* Cloudflare.RealtimeKitWebhook("Events", {
appId: app.appId,
url: "https://example.com/webhook",
events: ["meeting.started", "meeting.ended"],
});