Authentication
All moderation endpoints require:- Valid JWT token in the
Authorizationheader - User must be active (
is_active = true) - User must have
report_readpermission
Get reports
Query parameters
Filter by visibility status:
v- Visible postsh- Hidden posts
Filter by moderation status:
o- Open reportsc- Closed reports
Board(s) to filter by. Can be a single board shortname (1-5 characters) or an array of board shortnames. Defaults to all configured boards.
Number of reports per page. Must be between 1 and 50.
Page number (0-indexed). Must be non-negative.
Bearer token from the login endpoint
Response
Returns an array of report objects matching the filter criteria.Take action on report
The ID of the report to act upon
Bearer token from the login endpoint
Request body
The moderation action to perform:
report_delete- Delete the reportpost_delete- Delete the reported postmedia_delete- Delete the media filemedia_hide- Hide the media filemedia_show- Show the media filepost_show- Show the postpost_hide- Hide the postreport_close- Close the reportreport_open- Reopen the reportreport_save_notes- Save moderator notes
Optional moderator notes to attach to the action
Response
Success message (status code < 400)
Error message (status code >= 400)
Bulk actions on reports
Bearer token from the login endpoint
Request body
The moderation action to perform (see actions list above)
Array of report IDs to act upon. Must contain at least one ID. All IDs must be non-negative integers.
Optional moderator notes to attach to all actions
Response
Returns a results object with the outcome for each report ID.Dictionary mapping report IDs to their individual results, each containing
msg and code.When results have mixed status codes, the endpoint returns
207 Multi-Status. If all operations have the same status, that status code is returned.Required permissions
All moderation endpoints require thereport_read permission. Additional permissions may be checked based on the action being performed:
report_delete- Delete reportsreport_open/report_close- Change report statusreport_save_notes- Save moderator notespost_show/post_hide/post_delete- Modify postsmedia_show/media_hide/media_delete- Modify media