Overview of the Matrix Specification and APIs
mainMatrix is a set of open, decentralized APIs designed for secure, persistent, and federated communication. It provides a pubsub layer for JSON objects, supporting Instant Messaging (IM), VoIP signaling, and Internet of Things (IoT) communication. The specification is built on pragmatic, web-friendly principles (JSON over REST) and aims to empower users through decentralization and end-to-end encryption.
The specification is divided into several key API components:
- Client-Server API: For client interactions with a home server.
- Server-Server API: For communication between federated servers.
- Application Service API: For building specialized services that interact with the Matrix network.
- Identity Service API: For managing user identities and 3PIDs.
- Push Gateway API: For sending push notifications to devices.
- Room Versions: Defining the evolution and capabilities of chat rooms.
- Olm & Megolm: Protocols for end-to-end encryption.
- Appendices: Supplemental technical information.