Skip to main content

Overview

lua webhooks manages HTTP webhook primitives defined with LuaWebhook. Each webhook is an addressable endpoint your agent exposes for external services (Stripe, Shopify, etc.) to call. The command also manages event subscriptions — wiring a webhook to platform events like message.delivered.
For defining webhooks in code, see LuaWebhook API.

Subcommands

Options

Examples

Webhooks vs Integration Triggers

Two different things, often confused: Use lua webhooks for things like “Stripe will call this URL on payment.succeeded.” Use lua triggers for things like “wake my agent when a Linear issue is created.”

Event Subscriptions

Some agent channels emit platform events your webhook can subscribe to — for example, message.delivered for WhatsApp delivery receipts. Run lua webhooks list-events to see the current catalog.
Subscribe a webhook to an event so the webhook fires whenever the event occurs:

Common Workflow