linLinear CLI
Commands

lin webhook

Manage workspace webhooks

Manage workspace webhooks

lin webhook create

Create a webhook

lin webhook create

Example

lin webhook create --url https://ci.example.com/hook --resource-types Issue,Comment --team ENG
FlagTypeDefaultDescription
--all-public-teamsboolfalsesubscribe to all public teams
--dry-run, -nboolfalseprint the intended operation and variables without executing
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--labelstring-webhook label
--resource-typesstringSlice[]resource types (comma list, e.g. Issue,Comment,Project)
--team, -tstring-restrict to a team (key or UUID)
--urlstring-delivery URL

lin webhook delete

Delete a webhook (requires --confirm)

lin webhook delete <id>
FlagTypeDefaultDescription
--confirmstring-confirm the destructive action by repeating the resource id
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin webhook list

List webhooks

lin webhook list
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size

lin webhook rotate-secret

Rotate a webhook's signing secret

lin webhook rotate-secret <id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin webhook update

Update a webhook

lin webhook update <id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--enabledbooltrueenable or disable the webhook
--labelstring-webhook label
--resource-typesstringSlice[]resource types (comma list)
--urlstring-delivery URL

On this page