The foundational protocol for Matrix clients to communicate with homeservers.
https://matrix.org/_matrix/client/v3
GET /_matrix/client/v3/rooms
GET /_matrix/client/v3/rooms/{roomId}/join
POST /_matrix/client/v3/rooms/{roomId}/state
curl 'https://matrix.org/_matrix/client/v3/rooms/{roomId}/members'
-H 'Authorization: Bearer eyJraW....'
POST /_matrix/client/v3/createRoom
Content-Type: application/json
Authorization: Bearer eyJraW5...
{
"name": "Dev Team",
"topic": "Project updates",
"is_encrypted": true,
"initial_state": [
{
"type": "m.room.encryption",
"state_key": "",
"content": {
"algorithm": "m.megolm.v1.aes-sha2"
}
}
]
}