curl -sS 'https://matrix.example.com/_synapse/admin/v1/rooms' -H "Authorization: Bearer $ACCESS_TOKEN"

Category: Matrix & Synapse

curl -sS 'https://matrix.example.com/_synapse/admin/v1/rooms' -H "Authorization: Bearer $ACCESS_TOKEN"

List all rooms on the homeserver

Returns up to 100 rooms with name, alias, member counts, encryption flag, and join rules. Each room appears with its room ID, the unique internal identifier starting with !. Paginate large servers with from and limit, and sort with order_by. Filter the list with the search_term variant.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.