mx.api: Minimal Matrix Client-Server API

A minimal-dependency client for the 'Matrix' Client-Server HTTP API <https://spec.matrix.org/>, suitable for talking to a 'Synapse' <https://element-hq.github.io/synapse/> or 'Conduit' <https://conduit.rs/> homeserver. Covers login, room management, message send and history, media upload or download, and the transport endpoints needed to coordinate end-to-end encryption (device-key and one-time-key publication, key query and claim, to-device events). Encryption itself is out of scope; pair with a separate crypto package.

Package details

AuthorTroy Hernandez [aut, cre] (ORCID: <https://orcid.org/0009-0005-4248-604X>), cornball.ai [cph]
MaintainerTroy Hernandez <troy@cornball.ai>
LicenseMIT + file LICENSE
Version0.3.1
URL https://github.com/cornball-ai/mx.api
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("mx.api")

Try the mx.api package in your browser

Any scripts or data that you put into this service are public.

mx.api documentation built on Sept. 12, 2026, 1:07 a.m.