Matrix Client-Server Rooms API

Number of APIs: 7

  1. Snapshot the current state of a room and its most recent messages. GET {{baseUrl}}/rooms/:roomId/initialSync

  2. Get a list of events for this room GET {{baseUrl}}/rooms/:roomId/messages?from=s345_678_333&to=eiusmod veniam&dir=b&limit=-66300513&filter={"contains_url":true}

  3. rooms/{room Id}-state - Get all state events in the current state of a room. GET {{baseUrl}}/rooms/:roomId/state

  4. rooms/{room Id}-state - Get the state identified by the type and key. GET {{baseUrl}}/rooms/:roomId/state/:eventType/:stateKey

  5. rooms/{room Id} - Get a single event by event ID. GET {{baseUrl}}/rooms/:roomId/event/:eventId

  6. rooms/{room Id} - Get the m.room.member events for the room. GET {{baseUrl}}/rooms/:roomId/members?at=YWxsCgpOb25lLDM1ODcwOA&membership=join&not_membership=leave

  7. rooms/{room Id} - Gets the list of currently joined users and their profile data. GET {{baseUrl}}/rooms/:roomId/joined_members