Toolbox ban macros are stored in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/toolbox-team/reddit-moderator-toolbox/llms.txt
Use this file to discover all available pages before exploring further.
banmacros wiki page of each subreddit. They provide pre-written ban reason templates that moderators can select during the Toolbox ban flow, saving time and ensuring consistent ban messages across a moderation team.
Wiki page: banmacros | Format: Plain JSON object
Structure
The ban macros object is a flat key-value map. Each key is the display name of the macro, and each value is the template text shown in the ban reason field:Each key is the human-readable name of the ban macro as it appears in the Toolbox ban dialog. Each value is the template string for the ban reason.Template placeholders supported in values:
| Placeholder | Replaced with |
|---|---|
{author} | The username of the account being banned |
{subreddit} | The name of the subreddit |
{kind} | The content type that triggered the ban (post or comment) |
The
banmacros wiki page contains only the macro map — there is no ver field or other envelope. The entire content_md of the wiki page is the JSON object itself.Reading ban macros
Fetch thebanmacros wiki page and parse content_md directly as JSON:
Writing ban macros
Serialize the updated object and POST it to the wiki edit endpoint:Managing macros via Toolbox
Ban macros are created and edited through the Toolbox settings panel under the “Ban macros” section. Moderators with wiki edit access for the subreddit can add, rename, and delete macros from the settings UI. Changes are written back to thebanmacros wiki page immediately on save.
Relationship to config banMacros
Thetoolbox config wiki page also has a banMacros field (see config schema). The standalone banmacros wiki page and the banMacros field in toolbox serve the same purpose; Toolbox reads from the banmacros page when it exists. Prefer the dedicated banmacros page for third-party integrations, as it avoids touching the broader config object.