Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Webhooks

1,002 sites Security covered
View on drupal.org

This module allows your Drupal site to send and receive webhooks. You can configure it to trigger webhooks based on various Drupal events, or to receive incoming webhooks and capture their data. The received webhook data can be stored and used with other modules for further actions.

Webhooks are "user-defined HTTP callbacks". They are usually triggered by some event, such as pushing code to a repository or a comment being posted to a blog. When that event occurs, the source site makes an HTTP request to the URI configured for the Webhook.

– https://en.wikipedia.org/wiki/Webhook

This module acts as both a Webhook dispatcher and a Webhook receiver. It is possible to map attributes of the Webhook payload to Webhook entity fields for storage.

Uses

Dispatching

For dispatching you can configure any amount of Webhooks that act on various events like entity create, update, delete and some system hooks like cron, file_download, modules_installed, user_cancel, user_login, user_logout and cache_flush.

Receiving

For receiving, the module captures the request and provides the payload to others with a generic Webhook event.

Storing

The Webhook module implements an entity type that stores every Webhook that has been received. Received Webhooks are stored in a dedicated Webhook entity type, if the the type identifier and the webhook machine name matches. The Webhook entity type is fieldable and you may map Webhook payload attributes to be stored in the configured fields.

Acting on events

Since Webhooks trigger events and Webhook is an entity with fields that store the data, you can use modules like Rules and ECA: Event - Condition - Action to react when receiving, sending and storing Webhooks.

Implemented as configuration entity Webhooks are easily deployable.

For a Drupal 7 version see:
Webhook https://www.drupal.org/project/webhook

πŸ‡ΊπŸ‡¦

#StandWithUkraine
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Logo icon by Etn Ccis in MIT License via SVG Repo

Activity

Total releases
3
First release
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
4.0.x-dev Dev May 21, 2025
3.0.0-alpha3 Pre-release May 19, 2025
3.0.0-alpha2 Pre-release May 19, 2025