Count open member reports
/api/reports/open-countHow many reports the caller may see are waiting -- the number on the nav badge.
Needs the ViewReports permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/reports/open-count"{ "open": 0}List member reports GET
What members told the mods with /report or Report to mods: open by default, or closed. Each report names who reported, who it is about, what was written and the message quoted. A report about a staff account is left out unless the caller holds Review tickets. Returns at most 500: the oldest open ones, or the most recently closed. Needs the `ViewReports` permission.
Close a member report POST
The note is required and is kept with the report. Closing is recorded as a fact against your account that names the report and not the note or the reporter. A message to the reporter is optional: it is sent to them in a direct message and never to a channel, and the report says whether it went. A message that fails to send does not undo the close. Needs the `ViewReports` and `HandleReports` permissions.