List flags
/api/moderation-flagsThe newest flags: open, dismissed or confirmed, and filtered by language. Given vrchat, discord or both, only that person's flags, and the open count is theirs. Returns at most 200 flags, newest first.
Needs the ViewProfile permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
Also accepted as state.
Also accepted as vrchat.
Also accepted as discord.
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/moderation-flags"{ "flags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "flaggedAt": "2019-08-24T14:15:22Z", "ruleKind": "string", "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "ruleName": "string", "term": "string", "target": "string", "subjectPlatform": "string", "subjectId": "string", "subjectName": null, "channelId": null, "messageId": null, "matched": "string", "reason": null, "messageDeleted": true, "timedOutMinutes": null, "state": "string", "dismissedAt": null, "dismissedBy": null, "ruleVersion": 0, "ruleText": null, "trial": false, "wouldDeleteMessage": false, "wouldTimeOutMinutes": null, "callId": null, "language": null, "languageLabel": "Unknown", "picture": null, "pictureUrl": null, "context": null, "reviewId": null, "confirmedAt": null, "confirmedBy": null, "groupBanned": false, "groupRemoved": false, "wouldGroupBan": false, "wouldGroupRemove": false, "aiOpinion": null, "aiOpinionReason": null, "aiProposedAction": null, "aiOpinionAt": null, "aiOpinionCallId": null, "exempt": false } ], "open": 0, "languages": [ { "language": null, "label": "string", "flags": 0 } ], "aiOpinionAvailable": false}Get a person's history GET
One person's count of being acted on -- the History block on their pane. The id goes in the query string, never the path: VRChat ids are opaque and a legacy one can contain anything. `known` is false when nobody has ever acted on them. Needs the `ViewProfile` permission.
Count open flags GET
How many flags are open, in any language -- the number on the nav badge. Needs the `ViewProfile` permission.