Man pages for mx.api
Minimal Matrix Client-Server API

mx.api-packageMinimal Matrix Client-Server API
mx_canonical_jsonEncode a value as Matrix canonical JSON
mx_delete_deviceDelete a device
mx_devicesList this account's devices
mx_downloadDownload a media file by mxc URI
mx_get_account_dataGet account data
mx_get_stateGet a room state event
mx_guess_mimeGuess a MIME type from a file extension
mx_keys_claimClaim one-time keys for an Olm handshake
mx_keys_device_signing_uploadUpload cross-signing public keys
mx_keys_queryQuery device keys for one or more users
mx_keys_signatures_uploadUpload signatures over device or cross-signing keys
mx_keys_uploadUpload device identity and one-time keys
mx_loginLog in to a Matrix homeserver
mx_logoutLog out of a Matrix session
mx_media_configQuery the homeserver's media configuration
mx_messagesFetch historical messages from a room
mx_profileGet a user's profile
mx_reactSend a reaction (annotation) to a room event
mx_read_receiptSend a read receipt for a room event
mx_redactRedact an event
mx_registerRegister a new account on a Matrix homeserver
mx_room_createCreate a room
mx_room_inviteInvite a user to a room
mx_room_joinJoin a room by ID or alias
mx_room_leaveLeave a room
mx_room_membersList the members of a room
mx_room_nameGet a room's human-readable name
mx_roomsList rooms the user has joined
mx_room_topicGet a room's topic
mx_sendSend a message to a room
mx_send_eventSend an arbitrary room event
mx_send_mediaSend a media file to a room
mx_send_to_deviceSend a to-device event
mx_sessionReconstruct a session from saved credentials
mx_set_account_dataSet account data
mx_set_avatar_urlSet this user's avatar
mx_set_displaynameSet this user's display name
mx_set_stateSet a room state event
mx_syncOne-shot sync against the homeserver
mx_typingSend a typing notification
mx_uploadUpload a file to the homeserver media repository
mx_whoamiReturn the identity of the current session
mx.api documentation built on Sept. 12, 2026, 1:07 a.m.