Skip to main content
drupalreleases
Release: Schema.org Metatag 3.1.0 — Minor update available for module schema_metatag (3.1.0). Release: D8W3Css 2.0.18 — Minor update available for theme d8w3css (2.0.18). Release: Solo 1.0.36 — Minor update available for theme solo (1.0.36). Release: htmLawed 4.1.8 — Minor update available for module htmlawed (4.1.8). Release: Group Media 4.0.8 — Minor update available for module groupmedia (4.0.8). Release: DKAN 4.1.4 — Minor update available for module dkan (4.1.4). Release: Solo Utilities 1.0.8 — Minor update available for module solo_utilities (1.0.8). Release: Amun 2.0.12 — Minor update available for theme amun (2.0.12). Usage Milestone: Mime Mail — Module mimemail crossed 50,000 active installs. Module Revived: OIDC Menu 1.0.0 — Module oidc_menu updated after 36 months of inactivity (1.0.0).

Drupal's Matrix API module connects to a Matrix homeserver as a regular bot user — joining rooms, sending messages, and polling for new events. That works well for many use cases, but a bot user has inherent limits: it must be invited to each room individually, it can only see events in rooms it has joined, and it cannot act as or create other Matrix users.

This module lifts those limits by implementing the Matrix Application Service protocol. An Application Service (AS) is registered directly with the homeserver and receives a push of every event — across all rooms, all users, and all event types — without joining anything. It can also create and manage a namespace of virtual Matrix users that appear to the rest of the network as real accounts on the homeserver.

Features

  • Exposes the AS /_matrix/app/v1/transactions endpoint so the homeserver can push event batches to Drupal in real time — no polling required
  • Manages the hs_token / as_token credential handshake that authenticates traffic between the homeserver and Drupal in both directions
  • Generates the Application Service registration YAML that your homeserver operator adds to homeserver.yaml (Synapse) or equivalent
  • Enables virtual user provisioning: Drupal can create Matrix users on behalf of site accounts, so each Drupal user can have a corresponding Matrix identity rather than all messages appearing to come from a single bot
  • Handles the AS namespace configuration (user namespace, room namespace, alias namespace) so only the events relevant to your integration are pushed
  • Suitable for bridge-style integrations, multi-room monitoring, and large deployments where inviting a bot to every room is not practical

Post-Installation

After enabling the module, go to Admin → Configuration → Services → Matrix Application Server to configure your user and room namespaces and generate the registration file. Provide that YAML file to whoever administers your Matrix homeserver — it must be added to the server configuration and the homeserver restarted before events will flow. Once registered, inbound events arrive at Drupal in real time rather than on a cron schedule. YAML file is formatted and tested with a Matrix Synapse homeserver - other homeservers may require different configurations.

Additional Requirements

matrix_api. Administrative access to your Matrix homeserver is required to register the Application Service — this is a server-side configuration step that cannot be done from within Drupal alone. Self-hosted Synapse, Conduit, Dendrite, and most other homeserver implementations support the Application Service protocol.

- matrix_api_identity — map virtual Matrix users to Drupal accounts
- matrix_api_entity — sync Drupal content entities with Matrix room threads

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2026
Latest release
2 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.x-dev Dev 11 Oct 7, 2026