Modbot Docs
APIAPI referenceReports

Close a member report

POST/api/reports/{id}/close

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.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/reports/497f6eca-6276-4993-bfeb-53cbbbba6f08/close" \  -H "Content-Type: application/json" \  -d '{    "note": "string"  }'
{  "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}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.