---
title: "Federation"
slug: "federation-api"
updated: 2026-02-17T14:25:45Z
published: 2026-02-17T15:38:23Z
canonical: "developer.rocket.chat/federation-api"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Federation

Use the Federation API to connect your workspace with external servers, enabling cross-workspace communication and collaboration. These endpoints allow you to manage federated servers, discover shared rooms, and join public conversations hosted outside your organization.

With the Federation API, you can:

- Add and manage federated servers to establish trusted connections.
- View configured servers within your federation network.
- Remove federated servers when they are no longer required.
- Search for public rooms across federated environments.
- Join external public rooms to collaborate beyond your workspace.

> [!NOTE]
> For setup and configuration guidance, see the [**Federation user guides.**](https://docs.rocket.chat/docs/decentralized-communication-with-federation-in-rocketchat)
