Strapi · AsyncAPI Specification
Strapi Webhooks
Version 5.0.0
Strapi includes a built-in webhook system that notifies external services whenever certain events occur in the CMS. Rather than polling the Strapi API for changes, you can configure Strapi to send HTTP POST requests to a specified URL when content entries or media assets are created, updated, deleted, published, or unpublished. Webhooks are configured through the Strapi admin panel under Settings > Webhooks and include a custom X-Strapi-Event header identifying the event type. Global webhook headers can also be configured in the server configuration file.
Channels
/webhook
Receive a Strapi webhook event
The webhook delivery channel. Strapi sends HTTP POST requests to the configured URL whenever a subscribed event occurs. Each request includes an X-Strapi-Event header with the event type and any globally configured headers.
Messages
EntryCreate
Entry Created
Triggered when a new content entry is created in Strapi.
EntryUpdate
Entry Updated
Triggered when an existing content entry is updated in Strapi.
EntryDelete
Entry Deleted
Triggered when a content entry is deleted from Strapi.
EntryPublish
Entry Published
Triggered when a draft content entry is published. Only available when Draft and Publish is enabled on the content-type.
EntryUnpublish
Entry Unpublished
Triggered when a published content entry is unpublished and reverted to draft status. Only available when Draft and Publish is enabled on the content-type.
MediaCreate
Media Created
Triggered when a new file is uploaded to the Strapi media library, either directly or as part of a content entry creation.
MediaUpdate
Media Updated
Triggered when a file in the Strapi media library is updated, such as changing its metadata or replacing the file.
MediaDelete
Media Deleted
Triggered when a file is deleted from the Strapi media library.
Servers
https
webhookReceiver
{webhookUrl}
The external URL configured to receive webhook events from Strapi. This URL is set by the user in the Strapi admin panel when creating a webhook configuration.