Get the m.room.member events for the room.

GET {{baseUrl}}/rooms/:roomId/members?at=YWxsCgpOb25lLDM1ODcwOA&membership=join&not_membership=leave

Get the list of members for this room.

Request Params

KeyDatatypeRequiredDescription
atstringThe point in time (pagination token) to return members for in the room.
This token can be obtained from a prev_batch token returned for
each room by the sync API. Defaults to the current state of the room,
as determined by the server.
membershipstringThe kind of membership to filter for. Defaults to no filtering if
unspecified. When specified alongside not_membership, the two
parameters create an 'or' condition: either the membership is
the same as membership or is not the same as not_membership.
not_membershipstringThe kind of membership to exclude from the results. Defaults to no
filtering if unspecified.

RESPONSES

status: OK

{"chunk":[{"$ref":"../../event-schemas/examples/m.room.member.yaml"}]}