---
title: "List banned rooms"
method: GET
path: "/mod/list"
tags: ["moderation"]
---

# List banned rooms

`GET /mod/list`

Lists banned room IDs. Append /{server_name} to filter to a single server. An empty list is a 204, not an empty 200. As with the rest of the mod group, a "bot" User-Agent gets a 403 even authenticated.

## Response `200`

Banned room IDs

- string[]

## Other responses

- `204` — No banned rooms
- `403` — User-Agent contains 'bot'

---

[API](https://skmtc.net/etkecc/apis/matrix-rooms-search-api.md) · [All operations](https://skmtc.net/etkecc/apis/matrix-rooms-search-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/etkecc/matrix-rooms-search-api/revisions/ae3c2fd65492/schema)
