Reporting content

Report a room as inappropriate.

Reports a room as inappropriate to the server, which may then notify the appropriate people. How such information is delivered is left up to implementations. The caller is not required to be joined to the room to report it.

Clients could infer whether a reported room exists based on the 404 response. Homeservers that wish to conceal this information MAY return 200 responses regardless of the existence of the reported room.

Furthermore, it might be possible for clients to deduce whether a reported room exists by timing the response. This is because only a report for an existing room will require the homeserver to do further processing. To combat this, homeservers MAY add a random delay when generating a response.

post/_matrix/client/v3/rooms/{roomId}/report

Request

Path parameters

roomIdstring required

The room being reported.

Request body

reasonstring required

The reason the room is being reported. May be blank.

Example request

{
  "reason": "this makes me sad"
}

Response

The room has been reported successfully.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.