Skip to main content
const webhook = new Luma(process.env.LUMA_API_KEY!).webhooks.client({
  secret: process.env.LUMA_WEBHOOK_SECRET!,
});
const webhook: WebhookInboundClient;
SDK luma.webhooks.client(options: WebhookInboundClientOptions): WebhookInboundClient Returns a WebhookInboundClient for verifying incoming events.
const webhook = new Luma(process.env.LUMA_API_KEY!).webhooks.client({
  secret: process.env.LUMA_WEBHOOK_SECRET!,
});
const webhook: WebhookInboundClient;

Parameters

options
WebhookInboundClientOptions
required
Inbound client configuration.

Test it

const webhook = luma.webhooks.client({
  secret: process.env.LUMA_WEBHOOK_SECRET!,
});
console.log("Inbound client ready");