| name | linear-webhooks |
| description | Manage webhooks - create, listen for events, rotate secrets. Use when setting up integrations or event listeners. |
| allowed-tools | Bash |
Webhooks
linear-cli wh list
linear-cli wh create https://example.com/hook --events Issue
linear-cli wh get WEBHOOK_ID
linear-cli wh update WEBHOOK_ID --url https://new-url.com
linear-cli wh delete WEBHOOK_ID --force
linear-cli wh rotate-secret WEBHOOK_ID
linear-cli wh listen --port 9000
linear-cli wh listen --port 9000 --secret SIGNING_SECRET
Subcommands
| Command | Purpose |
|---|
list | List all webhooks |
get | View webhook details |
create | Create webhook |
update | Update webhook |
delete | Delete webhook |
rotate-secret | Rotate signing secret |
listen | Local event listener with HMAC verification |
Flags
| Flag | Purpose |
|---|
--events TYPE | Event types to subscribe |
--port N | Local listener port |
--secret KEY | HMAC signing secret |
--output json | JSON output |
Exit Codes
0=Success, 1=Error, 2=Not found, 3=Auth error