List member reports
/api/reportsWhat 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.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/reports"{ "reports": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "state": "string", "createdAt": "2019-08-24T14:15:22Z", "reporter": { "discordId": "string", "name": null, "vrChatUserId": null }, "about": { "discordId": "string", "name": null, "vrChatUserId": null }, "text": null, "message": null, "textRemovedAt": null, "closedAt": null, "closedByUsername": null, "closeNote": null, "reporterMessageSent": false, "reporterMessageProblem": null } ], "openCount": 0, "now": "2019-08-24T14:15:22Z", "replies": null, "canMessageReporters": false}Look up a person GET
Give exactly one of `vrchatUserId`, `discordUserId` or `accountId`. The answer carries every account Modbot can tie to it, each with `foundBy` saying what tied it: `asked` for the one you gave, `link` for the proved Discord account link, `account` for an id recorded on a Modbot account. Nothing is guessed. Accounts are tied only by the proved link and by the ids written on a Modbot account; display names are never compared and an id's shape is never read. An account that ties to nothing answers with itself and nulls, which is the honest answer rather than an error. Each part needs the permission that already shows it elsewhere: the Discord side and the VRChat display name need ViewProfile, the Discord display name needs ViewMembers, and the Modbot account needs ViewOperationalLog or ManageUsers. A part you may not see is left null; `canSeeAccount` says whether a null Modbot account means there is none or that you may not be told.
Count open member reports GET
How many reports the caller may see are waiting -- the number on the nav badge. Needs the `ViewReports` permission.