With microCMS Webhooks, you can send an HTTP POST request to a specified URL when content is published, updated, or deleted.
Common use cases include:
- Triggering a static site rebuild (e.g. Nuxt generate or ISR revalidation)
- Purging caches
- Sending notifications to Slack or Discord
- Integrating with external systems
You can register webhooks under API Settings → Webhook in the dashboard, and choose the event type (create/update/delete) and target API. The payload includes fields such as api, id, and type, so your endpoint can handle the event accordingly.