Matrix bridges for WhatsApp, Signal and Telegram: what they do and how they connect
Staff who need to reach external contacts from Matrix can do so without moving the homeserver off your infrastructure by running a Matrix bridge for each third-party network. The mautrix-whatsapp, mautrix-signal and mautrix-telegram bridges are puppeting bridges: each one logs in as the staff member's own WhatsApp, Signal or Telegram account and mirrors that person's chats into Matrix rooms. Messages sent from Matrix go out from that personal account, so the contact sees a message from the staff member, not from a shared service identity. The bridges are published on GitHub under AGPL-3.0, and their setup documentation is hosted at docs.mau.fi, which is the first document to read before you plan a rollout.
The practical consequence is that each bridge is tied to a person's account, not to the organization. Before you commit, confirm how each network links a session to a device or phone number, how often a session needs to be re-authenticated, and what happens to bridged history when an employee leaves. mautrix-telegram also offers a relaybot mode, which posts through a bot account instead of a personal login. That mode suits shared support or announcement channels, but it changes who the contact sees as the sender and what the bot can read, so choose the mode per use case rather than per platform.
Each bridge runs as a separate appservice that needs its own registration file, a PostgreSQL database and a process or container that can reach both the homeserver and the external network. Feature coverage differs by network. The mautrix-whatsapp roadmap, for example, lists text, media, replies, reactions and read receipts as bridged from Matrix to WhatsApp, but marks room name, avatar and topic changes from Matrix as not supported. Read the roadmap for each network in the mautrix-whatsapp features and roadmap file and test the features your staff actually use before go-live.
What a bridge deployment needs before installation
A mautrix bridge is an appservice that sits beside your homeserver, holds its own database and calls out to a third-party network. Each card below is a prerequisite you settle before installation, because a gap in any one of them shows up later as a broken login, a stalled sync or a data question nobody can answer.
Synapse version and platform floors
Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer. Check your homeserver's current version against these floors before you add a bridge, because the bridge adds load to an upgrade that already needs to succeed. Upgrade notes also warn that rolling back can be hard after schema changes, so take a database backup before any upgrade that happens alongside bridge setup.
Synapse upgrade notesAppservice registration path
Each mautrix bridge registers with the homeserver as an application service through a registration file that both sides must agree on. Decide who generates the tokens, where the registration file is stored and how it is mounted into the Synapse container or host. Plan the change process for updating the registration file, since a mismatch between the bridge and the homeserver stops traffic in both directions.
Dedicated PostgreSQL for bridge data
Bridges store their own state, including portal and puppet mappings, message links and encryption keys, in a database separate from Synapse. Decide whether each bridge gets its own database and role or shares one, and include it in your backup and restore plan from day one. Confirm each project's supported database engine and migration steps in its own documentation before you size the instance.
Outbound network paths
Each bridge connects outward to WhatsApp, Signal or Telegram servers and to your homeserver, so firewall rules and egress proxies need to allow those paths from the bridge host. Confirm which endpoints and ports each project requires in its own docs, and check whether your security policy permits outbound traffic from a host that holds third-party session credentials. Document the allowlist so security reviewers can trace it.
Third-party accounts staff will use
Puppeting bridges act as a real user on the external network, so each bridged staff member links their own WhatsApp, Signal or Telegram account. Decide whether staff use personal or dedicated business accounts, who may link them, and how a departing employee's session is revoked. Confirm the external platform's terms on automated or multi-device use, because account restrictions there affect your team, not the bridge project.
Bridge-specific requirements and data questions
Each bridge has its own configuration, feature set and supported platform versions, so read the setup documentation for mautrix-whatsapp, mautrix-signal and mautrix-telegram before you install. Before go-live, write down what message content and metadata the bridge stores, who can read those stores and how long they are kept. Those answers drive your retention and compliance review, and they are easy to skip when the bridge is treated as a convenience tool.
WhatsApp bridge roadmapConfiguration sequence for the WhatsApp, Signal and Telegram bridges
This sequence takes a self-hosted Matrix homeserver from a verified baseline to a working WhatsApp, Signal or Telegram bridge, one bridge at a time, with a check at each step so a fault is caught before the next layer is added.
Confirm the homeserver and database baseline
Before touching any bridge, the Synapse administrator confirms that the homeserver starts cleanly, federation and client login behave as expected, and the database is PostgreSQL on a version that the installed Synapse release supports. The Synapse upgrade notes set the PostgreSQL 14 floor for releases 1.143.0 and later and the Python 3.10 floor for releases 1.142.0 and later, so check those against the release in use. Each bridge also needs its own database, so confirm that the team can create one. The step is done when a test user can log in from a Matrix client and send a message in a test room.
Install one bridge at a time
Install a single bridge (mautrix-whatsapp, mautrix-signal or mautrix-telegram) on a host or container your organization controls, using the setup documentation at docs.mau.fi for the version you are deploying. Install the bridges one at a time so that any fault can be traced to one component. Record the exact bridge version, the host it runs on and who owns it. The step is done when the bridge binary or container starts and writes its default configuration without errors.
Generate and register the appservice registration file
Have the bridge generate its appservice registration file, which tells Synapse which user IDs and room aliases the bridge controls. Copy that file to the Synapse host, add it to the homeserver's app_service_config_files list in the configuration, and restart Synapse. The registration file contains tokens, so restrict its file permissions and treat it as a credential. The step is done when Synapse starts without complaint and the bridge's bot account appears as a registered application service user.
Set the bridge homeserver and database settings
Edit the bridge configuration so that its homeserver address matches the internal URL Synapse exposes to it, its domain matches the server_name in use, and its database connection points to the dedicated PostgreSQL database created for it. Confirm the permissions setting so that only named Matrix users can use the bridge. Keep the bridge's admin and permission lists short and documented. The step is done when the bridge connects to the homeserver and database without error and its log shows a successful start.
Link the third-party account as a puppet
A named staff member starts a direct chat with the bridge bot in Matrix and follows the link command for the platform, which pairs their WhatsApp, Signal or Telegram account with a puppet Matrix user. The bridge is a puppeting bridge, so the linked account's messages appear in Matrix under that puppet identity. Use an account the organization is authorized to use, and record who owns each linked account. The step is done when the bot confirms the login and the linked account's chat list becomes visible to the bridge.
Test a private chat in both directions
Using a test contact the team controls, open a private chat from Matrix and send a plain text message, then reply from the external app. Check that the text, and a simple media file, arrive on both sides with the expected sender. The roadmap for mautrix-whatsapp lists text, formatting, media, replies, reactions and read receipts as bridged from Matrix, but confirm the feature set for each bridge version in use before relying on it. The step is done when the test message arrives in both directions with the correct identities.
Enable group chats after private chats pass
Only after private chats work reliably, enable group chat bridging for the same bridge. Test one group with a small number of members and confirm that messages from each side appear in the correct room. Note that room name, avatar and topic changes from Matrix to WhatsApp are marked unsupported in the mautrix-whatsapp roadmap, so do not promise those changes to users. The step is done when a test group carries messages both ways and the team has documented which features are missing for that bridge.
What each bridge supports today and where it stops
The mautrix-whatsapp roadmap sets the practical boundary for staff who expect WhatsApp to behave like any Matrix room. From Matrix to WhatsApp, text, formatting, media and files, location, replies, polls, reactions, read receipts and typing notifications are listed as bridged. In the other direction, private chats, group chats, communities and status broadcasts are listed as bridged from WhatsApp. Plan the rollout around that list, not around what a Matrix user might assume. Room name, avatar and topic changes made in Matrix are marked as not supported, so a room renamed or re-avatared on the Matrix side will not reflect that change on the WhatsApp group. Decide in advance whether group owners on the WhatsApp side will manage those settings and tell staff who will.
Do not assume the same coverage for the other two bridges. mautrix-signal and mautrix-telegram are separate projects with their own feature sets, and their roadmaps change independently of WhatsApp. Open the ROADMAP.md file in each repository and check the current status of every message type, group behavior and admin action your teams rely on. Record the commit or date you checked, because a bridge that gaps a feature today may close it in a later release. For Telegram, also confirm whether you need the relaybot mode, which serves a different use than puppeting a personal account, before choosing a configuration.
Treat any unsupported item as a workflow decision, not a bug to report. Where a feature is missing, write down the fallback, such as sending the message from the native WhatsApp or Signal app, and make that part of the support runbook. Test the exact flows your staff will use, including media from the phone camera, group membership changes and message deletion, against a non-production account before the first pilot. Test results are the evidence that should decide whether bridging covers the need or whether a separate channel is required.
How identities, rooms and message types map across each bridge
This table compares how user identities, rooms and message types move between Matrix and each third-party network, and what the bridge bot or relaybot does. Read the direction column first, since a feature can cross one way and not the other. The main takeaway is that puppeting bridges act as the staff member's own account on the external network, so every Matrix room mirrors a live external chat.
| Mapping | WhatsApp (mautrix-whatsapp) | Signal and Telegram |
|---|---|---|
| Identity: Matrix user to external account | Each staff member links their own WhatsApp account, so messages are sent as that person | Signal and Telegram puppeting also link each staff member's own account. Confirm the current login flow in the project docs before rollout |
| Room: Matrix room to external chat | Private chats, group chats, communities and status broadcasts from WhatsApp are bridged into Matrix rooms (WhatsApp to Matrix: supported) | Chat mapping for Signal and Telegram follows each project's documentation. Confirm which chat types are bridged for your version |
| Room metadata: name, avatar, topic | Room name, avatar and topic changes from Matrix to WhatsApp are not supported (Matrix to WhatsApp: not supported) | Confirm metadata sync direction for Signal and Telegram in each project's current documentation |
| Message types: text, formatting, media | Text, formatting, media and files are bridged from Matrix to WhatsApp (Matrix to WhatsApp: supported) | Confirm supported media and formatting for Signal and Telegram in each project's current feature list |
| Message features: replies, reactions, receipts | Replies, polls, reactions, read receipts and typing notifications are listed as bridged from Matrix to WhatsApp (Matrix to WhatsApp: supported) | Confirm reply, reaction and receipt behavior for Signal and Telegram before promising it to users |
| Bridge bot or relaybot role | The bridge bot manages login and admin commands. Relaybot mode is documented for mautrix-telegram, not for WhatsApp puppeting | mautrix-telegram supports a relaybot mode, where a single bot account relays messages rather than each user puppeting their own account |
| Encrypted rooms | Confirm how bridged rooms interact with end-to-end encryption before enabling it for staff rooms | Confirm encryption support for Signal and Telegram bridged rooms in each project's docs |
How messages move between Matrix, the bridge and the external network
The flow starts with a user in a Matrix client sending a message to the homeserver, which hands events to the mautrix bridge through the appservice interface. The bridge then talks to the external network (WhatsApp, Signal or Telegram) and keeps its mapping of portals, puppets and message IDs in its own database. The trust boundary sits between the self-hosted homeserver and bridge, which run in your environment, and the third-party network, which does not. Check where the bridge database lives, who holds the bridge's credentials, and what the external network can see at each hand-off.
Message path through the homeserver, bridge and external network, with the trust boundary.
Data-handling questions bridging raises for legal and security teams
A bridge to WhatsApp, Signal or Telegram moves other people's messages through infrastructure your organization operates, and it does so under someone else's account. The cards below cover the questions that privacy, legal and security teams should answer in writing before a bridge goes live, because each one changes who holds data and who can act on it.
Who holds the session credentials
A puppeting bridge logs in as a real WhatsApp, Signal or Telegram account, so the session keys or login tokens it stores act as that person. Anyone who can read the bridge database or its container volume can potentially take over the linked account. Decide who owns the phone number or account, who can re-link it, where the session data is encrypted at rest, and how you revoke it when someone leaves. Confirm this per bridge in the mautrix documentation before go-live.
mautrix-whatsapp repositoryWhere message history and media live
Bridged messages are stored twice: in the Matrix homeserver's database and media store, and in the bridge's own PostgreSQL database, which maps external message IDs to Matrix event IDs and keeps the media it relays. Both copies sit in infrastructure you control, but they are separate stores with separate backup jobs. List each location, its encryption, its backup schedule and which administrators can query it.
Retention and erasure on the Matrix side
Retention rules on Synapse govern how long room events are kept, but they are configured per server and do not automatically reach the bridge database or the external network. When a user asks for erasure, your team must remove data from the homeserver, purge the bridge's mapping and media records, and confirm the external app's own copy is outside your control. Write the erasure procedure as a runbook and test it on a sample account.
Retention and erasure on the bridge side
The bridge keeps its own record of portals, puppets and message mappings, and those records can outlive the Matrix rooms they serve. Ask which tables hold personal data, whether the bridge supports deleting a portal and its history, and how a deleted or unlinked account is handled. Document the bridge retention period as a separate line in your records of processing, since your Matrix retention settings will not cover it.
Encrypted rooms and bridge visibility
Bridges are bots or appservices inside a room, so they must read message content to relay it. In an end-to-end encrypted room, the bridge can only forward messages if it holds the room keys and is a member, which means the bridge sees plaintext that staff may assume is protected. Decide whether bridged rooms will be encrypted at all, who can join them, and whether bridge administrators are covered by your end-to-end encryption and compliance access policy.
Terms of service and permitted use
WhatsApp, Signal and Telegram each publish terms that govern how their accounts and clients may be used, and automated or unofficial access can breach them. A bridge that logs in as an individual account may put that account at risk of restriction, and the provider may change its terms or API behavior without notice. Have legal review the terms of each network, confirm the use case, and get a written position from your privacy and legal teams before go-live.
How bridges interact with encrypted rooms and bots
A bridge is the point where message content becomes readable to the operator. Messages from an encrypted Matrix room that is bridged to WhatsApp, Signal or Telegram must be decrypted by the bridge before they can be sent to the third-party network, and the third-party network receives them in clear form. Traffic in the other direction is also readable at the bridge before it reaches the Matrix room. The bridge therefore holds plaintext for every bridged conversation, which is a different trust position from an end-to-end encrypted room between Matrix users, where only the participants' devices hold the keys. Treat the bridge host as a system that can read all bridged messages.
That makes the bridged-room decision a data-handling decision, not only a convenience setting. Before connecting a room, decide which rooms may be bridged at all, who may invite the bridge bot and puppets, and whether the room's members understand that messages will leave Matrix in readable form. Staff who discuss personnel, client or regulated matters in an encrypted room should not assume that a bridge preserves that protection. Keep sensitive rooms unbridged, and record the list of bridged rooms as part of the system's data inventory so the compliance team can review it. The Matrix end-to-end encryption guidance on this site covers how encryption works for operators, including bridges and bots in encrypted rooms.
Encryption behavior differs by bridge and by version, so confirm it before go-live. Read the current documentation for mautrix-whatsapp, mautrix-signal and mautrix-telegram, including whether each one can handle encrypted Matrix rooms, where it stores the keys it needs, and how it handles media and bot commands. Test with a dummy account in a test room, then check the database and log locations for stored message content and tokens. Bot accounts in a bridged room also see plaintext, so limit their permissions and review which bots are invited. Ask the bridge project and your deployment partner to confirm these points in writing for the exact versions you plan to run.
Common bridge failures, their causes and fixes
This table lists the failures operators most often see with the mautrix WhatsApp, Signal and Telegram bridges, with the likely cause and first fix for each. Use it as a triage sheet: match the symptom your staff report to a row, check the cause in the bridge and homeserver logs, and apply the fix before changing anything else.
| Failure | Likely cause | First fix |
|---|---|---|
| Bridge receives no events from Matrix | Appservice registration file does not match the homeserver, or the bridge URL in the registration is wrong or unreachable from Synapse | Compare the registration file on both sides for matching tokens and IDs, confirm the bridge URL resolves from the homeserver, then restart Synapse and the bridge |
| Bridge logs in but messages stop after a while | The linked WhatsApp, Signal or Telegram session dropped, often after the phone or primary device went offline or the session was revoked elsewhere | Check the bridge's login state with its management room, relink the account using the bridge's login command, and confirm the phone stays connected to the network |
| Media from the other app does not appear in Matrix | File size exceeds the configured media limit, or the homeserver or bridge storage path lacks space or permissions | Review the bridge's maximum file size and the homeserver's media upload limit, check free disk space and write permissions on the media path, then resend a test file |
| Media from Matrix does not reach the external app | Attachment type is not handled by the bridge's conversion settings, or the upload exceeds the external platform's limit | Test with a small file of a common type, check the bridge's media conversion options in its configuration, and tell staff which formats and sizes are reliable |
| Duplicated messages after a restart | Bridge restarted while events were in flight, or the event store was reset or restored from an older backup | Confirm the database backup matches the restart point, avoid resetting the bridge database without a plan, and check the logs for repeated event IDs before changing settings |
| Missing messages after a restart | Events were received while the bridge or homeserver was down and were not replayed, or the sync position was lost | Check the bridge and Synapse logs for the gap period, restore a consistent backup if needed, and ask affected users to confirm which messages are missing |
| Database schema errors after a bridge upgrade | The new bridge version expects a schema change that was not applied, or the database was upgraded in an unexpected order | Read the release notes for the target version, take a database backup, run the bridge's documented upgrade step, and avoid running two bridge versions against one database |
| Bridge cannot connect to PostgreSQL | Wrong database URL, missing role or privileges, or a PostgreSQL version the bridge does not support | Verify the connection string and role grants, check the bridge's documented minimum PostgreSQL version, and test the connection with the same credentials outside the bridge |
Questions teams ask before bridging WhatsApp, Signal or Telegram
What does it cost to run a WhatsApp, Signal or Telegram bridge?
The cost is mostly labor, not software, because the mautrix bridges are published under AGPL-3.0 and can be self-hosted without a license fee. You pay for the setup work: appservice registration on your homeserver, a PostgreSQL database, a host or container for each bridge, and testing with real staff accounts. Recurring cost is operations: applying bridge and homeserver updates, watching logs, handling re-linking after a phone or device change, and keeping media storage in check. When you request a quote, ask for the setup work and the operating work as separate line items, and ask who holds the accounts and credentials after handover. Infrastructure costs depend on your hosting model, which your team sets.
How long does it take to get a working bridge?
Duration depends on how many networks you connect, whether the homeserver and database already exist, and how many staff accounts need testing. A single bridge on a homeserver you already run is a much smaller job than several bridges on a new deployment with a fresh database and reverse proxy. Build time is usually short compared with the testing and privacy review that follow, because each bridge needs validation with real conversations, media, and group chats. Ask any provider for a written timeline tied to the agreed scope, and confirm which items depend on your team's availability, such as DNS, certificates, and database access.
What does our team need to provide for a bridge?
A bridge needs four things from your side. First, a homeserver owner who can register appservices and restart Synapse. Second, a database owner who can create a dedicated PostgreSQL database and user for each bridge. Third, staff accounts on the third-party networks, which must be real people's accounts or approved service accounts. Fourth, a privacy decision: which staff may bridge which chats, where bridged content is stored, and who can see it. Without the privacy decision agreed early, the technical build tends to stall at the point where it matters most.
Can our own engineers set up these bridges without a partner?
Yes, if your team already runs Synapse and PostgreSQL and is comfortable with appservice configuration, YAML files, and container or package installs. The mautrix projects publish setup documentation at docs.mau.fi, which covers registration and configuration step by step. Teams without that background usually underestimate the testing and operations side: keeping sessions linked, handling reconnection after device changes, and reviewing what the bridge stores. A partner is most useful when you want the build, the privacy controls, and the runbook delivered together and tested against your environment.
Can a bridge replace a migration off WhatsApp, Signal or Telegram?
No. A bridge lets staff reach external contacts from Matrix while those contacts stay on their own apps, so it works as a coexistence tool. It does not move contacts, history, or group membership to Matrix, and the external networks still hold the primary data. The mautrix-whatsapp roadmap, for example, lists room name, avatar, and topic changes from Matrix to WhatsApp as not supported. If the goal is to retire an external app, plan a separate migration with a defined end date, and treat the bridge as a transition path.
Which features cross each bridge, and what is missing?
Feature coverage differs by network, so check each bridge's documented feature list before you promise anything to staff. The mautrix-whatsapp roadmap lists text, formatting, media and files, location, replies, polls, reactions, read receipts and typing notifications bridged from Matrix to WhatsApp, plus private chats, group chats, communities and status broadcasts from WhatsApp. Read the same kind of list for mautrix-signal and mautrix-telegram, including the relaybot mode in mautrix-telegram, before you choose a model. Test the features your teams actually use, such as attachments, voice notes, and group membership changes, in a pilot room.
What account risks should we ask the third-party provider about?
Ask what happens to the linked account if the network flags or suspends it, and whether your staff accounts can be restricted by the network's terms for automated or puppeting access. Ask which accounts the bridge uses, whether they are personal or dedicated, and who holds the login and session material. Ask how sessions are re-linked after a device change, and how you would revoke access quickly. Confirm with each network's own terms before rollout, since rules for third-party clients change. A written answer to these questions should be part of the scope you agree before work starts.
What should we confirm about data handling before bridging?
Bridged messages pass through your homeserver and the bridge, so they are stored in your database and media store and may be visible to your administrators. Confirm where bridge databases and media files are kept, how long they are retained, and who can read them. Check whether bridged rooms are end-to-end encrypted and how the bridge handles encrypted content, since encryption rules differ between networks and Matrix rooms. Decide which staff and which chats are allowed to bridge, and record that decision with your compliance team before the first production room is created.
Where to confirm each bridge's current behavior
Check the current behavior of each bridge in its own repository before you commit to a feature list. The mautrix-whatsapp, mautrix-signal and mautrix-telegram projects are maintained separately, and each one publishes its own release notes, issues and setup documentation on docs.mau.fi. Feature support differs between them and changes between releases, so a capability described in a blog post or a forum thread may already be out of date. Start with the mautrix-whatsapp repository, then open the matching Releases and Issues pages for the bridges you plan to run, and record the version you tested against.
For WhatsApp, the project's features and roadmap is the most direct reference for what crosses the bridge in each direction, including items marked as not supported, such as room name, avatar and topic changes from Matrix to WhatsApp. Read it against your staff's actual workflows. If a team depends on a feature that the roadmap does not list as supported, treat that gap as a requirement to validate in a test room, not as a detail to resolve later. The mautrix-signal and mautrix-telegram repositories are the equivalent references for their platforms, and mautrix-telegram also documents a relaybot mode that works differently from puppeting.
Use the Matrix.org bridges listing to confirm which bridge projects are currently listed for each platform, and treat it as a starting point rather than a statement of support. Before rollout, ask your team to confirm four things in writing: the bridge version, the supported message types, the setup steps on the project's documentation site, and the platform's own terms for automated or third-party access. Re-run this check before every planned upgrade, because a bridge release can change both features and the data it stores.
How DeployOpen scopes and delivers a Matrix bridge deployment
DeployOpen approaches Matrix bridges for WhatsApp, Signal and Telegram as part of a self-hosted Matrix deployment in infrastructure you control. We scope the bridges against your Matrix server, your data handling rules and the contacts your staff need to reach, then build, test, document and hand over the result in writing.
How we scope
- Confirm which of WhatsApp, Signal and Telegram your staff need, and which features each bridge must carry
- Document the data-handling questions for each network, including where bridge data and media are stored
- Agree in writing which Matrix rooms, accounts and bridge bot users are in and out of scope
- Engagements are fixed-scope, with scope, deliverables and timelines agreed before work starts
How we build
- Install and configure each bridge against the Matrix homeserver and its PostgreSQL database in your environment
- Register each bridge with the homeserver and test login, message flow, media and read state per network
- Test the features on the roadmap for each bridge, and record any gaps, such as unsupported room metadata changes
- Review bridge permissions, admin access and the rooms where bridged conversations can be read
How we hand over
- Deliver configuration files, deployment steps and runbooks written for your engineers to operate
- Document the supported feature list for each bridge, so staff know what crosses the bridge and what does not
- Record the data-handling decisions made during scoping, for review by your security and compliance teams
- Walk your administrators through backup, restart and bridge re-linking procedures before handover
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover
- Retainers can cover bridge version upgrades, re-testing after each release and monitoring of bridge health
- Ask any partner to confirm how it handles bridge upgrades, since the bridges track upstream network changes
- Keep the written scope and handover documents current so support work stays traceable

