Skip to main content
A webhook sends article events to an endpoint you own. Every webhook command, reads included, needs the Manage webhooks permission. For fields and response details, see the API reference.

List webhooks

This command lists webhooks. The secret is never shown.

Show a webhook

This command shows one webhook.
Required arguments:
  • <id> - Webhook ID from webhooks list

List webhook events

This command lists the events a webhook can subscribe to.

Create a webhook

This command creates a webhook.
--event takes create, update, delete, publish or unpublish. Repeat it for several events. The endpoint is unique in the workspace. The secret can be set but never read back.

Update a webhook

This command changes a webhook. Only the flags you pass change.
Required arguments:
  • <id> - Webhook ID from webhooks list
--event replaces the whole list of events. A webhook on a deprecated or expired payload version cannot be updated or activated. Delete it and create a new one.

Delete a webhook

This command deletes a webhook.
Required arguments:
  • <id> - Webhook ID from webhooks list