creating-webhooks
Installation
SKILL.md
Creating Webhooks
Use amp.createWebhook to add a durable HTTP webhook to an Amp plugin running in an
Amp-managed Orb. Project threads owned by the same user share a registration for each plugin and
key. Threads without a project keep separate registrations.
Workflow
- Inspect the plugin and run
amp plugins show-docsif the locally installed Plugin API is unclear. - Choose a short, stable
keyfor the webhook's logical purpose. Never generate the key at runtime. Re-registering the same key in its scope restores the same URL after plugin reloads and Orb restarts. - Register the handler from the plugin entry point so every plugin load reinstalls it: