Blog · Guide
Building a Custom Moderation Dashboard on the EchoThread Comment Moderation API
A comment moderation API for custom platforms allows engineering teams to move comment review out of vendor dashboards and straight into custom newsroom tools, editorial CMS sidebars, and internal operations consoles. Review discussions alongside live editorial metadata. By querying the EchoThread API and ingesting webhooks into your local database, your moderation team evaluates flagged contributions in seconds without leaving their primary publishing workflow.
Moderation becomes recurring labour as communities expand. When comment volume climbs on an active publication, online course, or technical documentation portal, moderating discussions across multiple disconnected browser tabs wastes hours every week. Context switching carries a steep price. This guide covers how to build custom moderation dashboard software that integrates with the EchoThread platform, handles high-throughput queues, applies deterministic rules, enforces staff roles, and keeps reader discussions healthy.
Why a custom moderation dashboard beats a tab full of admin screens
Context switching exacts an operational tax. When an online community grows past a few dozen comments a day, editors working in a headless CMS should not have to leave their draft view, open a separate administrative tab, search for a thread, and cross-reference subscriber tiers just to evaluate a single flagged comment. Separate tabs obscure crucial editorial context. They hide whether an article is an opinion piece, whether an author requested strict moderation, or whether a breaking news report is attracting coordinated brigading.
Tooling choices reflect operational scale. If you manage two sites with a single editor, the standard interface works well. If you manage five distinct publications with ten section editors, guest contributors, and legal reviewers, you need unified queues, customized authorization rules, and editorial metrics on a single screen. Review the architecture in detail. For teams reviewing architectural designs for custom editorial consoles, the comment moderation API for newsrooms provides a baseline model of how newsroom consoles structure these workflows.
Platform constraints shape dashboard architecture. EchoThread is a hosted SaaS commenting platform; it is proprietary, not open source, and EchoThread has no self-hosted or on-premise option. Because EchoThread does not offer an on-premise deployment, your custom console communicates through external HTTPS endpoints and event webhooks rather than modifying internal backend code.
Budget development resources before writing code. Building a read-only queue that queries an API and renders unreviewed comments takes an afternoon. Creating write actions, optimistic UI updates, webhook reconciliation, staff audit trails, and role-based permissions represents several weeks of focused engineering. The architecture detailed below budgets for the complete lifecycle of a high-volume moderation desk.
What the EchoThread comment moderation API gives you to work with
A production-ready moderation dashboard relies on three distinct integration surfaces provided by EchoThread:
- A REST API authenticated via account-level API tokens enables administrative services to query sites, fetch discussion threads, list comments by moderation state, approve or reject entries, and update commenter trust.
- Outbound webhooks deliver HTTPS POST payloads whenever comments are submitted, filtered, or updated, allowing your backend to maintain a synchronized local mirror.
- Automation tools like the EchoThread MCP server and community automation nodes handle triage without requiring bespoke microservices.
EchoThread publishes an MIT-licensed stdio MCP server, @echothread/mcp, listed in the official MCP Registry as io.echothread/mcp. The EchoThread MCP server runs locally through npx with the owner's EchoThread API token and lets an AI assistant such as Claude or ChatGPT desktop read sites, threads and comments on every plan, and moderate, reply and delete on Starter and above. The EchoThread MCP server cannot post new comments, and EchoThread offers no hosted MCP endpoint. For teams seeking visual workflow builders, an MIT-licensed n8n community node (@echothread/n8n-nodes-echothread) is available on Starter and above.
Plan boundaries matter during development. EchoThread webhooks with API tokens are a Starter-and-above feature. Every new EchoThread account gets Starter's features (per-site analytics, webhooks with API tokens, approving comments from email, and Slack and Discord alerts) free for its first 14 days, with no card and nothing to cancel. When the EchoThread Starter trial ends the account returns to the permanent free Hobby plan with nothing deleted, so you can test API calls and webhooks thoroughly during initial development before committing to a paid tier.
Pay attention to API boundaries. On EchoThread Starter and above, a site owner can send new comments to Slack or Discord by pasting an incoming-webhook URL, with separate toggles for comments awaiting review and published comments. EchoThread alerts are notifications only. Moderating happens in the EchoThread dashboard, by email, or through the REST API endpoints documented in the developer guides.
Designing the queue: states, ownership and what counts as done
Fast queues require clear states. A high-velocity dashboard must map directly to the underlying states produced by the EchoThread ingestion pipeline. Every incoming comment sits in one of three functional buckets: published, awaiting review (held), or filtered as spam. Status codes explain review holds. An editor should not have to read five hundred words to deduce why a submission stalled in the moderation queue.
EchoThread provides spam and moderation tooling in two layers: AI-assisted spam scoring through its Siftfy integration, and deterministic rules the site owner writes themselves: a restricted-words list, per-site commenter bans and trust, and auto-closing old threads. EchoThread is not a built-in first-party AI moderation engine, and EchoThread's owner-authored controls are rules, not AI. Rules run before the classifier. Because EchoThread runs the owner's restricted-words rule before the classifier, your queue interface should visually distinguish between automated classifier uncertainty and a match against your house blocklist.
EchoThread lets a site owner keep a restricted-words list of up to 2,000 entries, matched case-insensitively against the comment body and the author's display name, where "*" matches a run of non-space characters. The owner chooses once for the whole EchoThread restricted-words list whether a match holds the comment for review or rejects it; a display-name match always holds rather than rejects. EchoThread runs restricted-words matching before the spam classifier, so a comment the rule decides never reaches it, and the EchoThread moderation queue labels the decision as the owner's own rule and shows the text that matched. Highlight matches in the UI. Highlighting the exact word in yellow or red allows an editor to make a decision in two seconds instead of re-reading an entire paragraph.
Clear division of labour prevents duplicate work across editorial desks. Define your operational policies directly in the UI:
- Junior moderators review the held queue, approving clear false positives and discarding obvious spam.
- Senior staff handle contentious edge cases, user bans, and legal escalations. Editorial desks can review the multi-author newsroom roles framework and the editorial team moderation structure to establish clear escalation paths.
- Header metrics display overall queue age and the creation timestamp of the oldest unreviewed item. An efficient moderation desk targets 120 to 180 decisions per moderator per hour during active news cycles.
Comment moderation API integration: tokens, webhooks and the read path
Separate read paths from event ingestion. Do not poll the REST API. Polling the EchoThread REST API every few seconds wastes server resources, risks HTTP 429 rate limits, and degrades response times for active editors. Structure your application around webhook events that write to a local relational database, using the REST API for write-back mutations.
Generate an account-level API token inside your EchoThread settings. Store credentials securely. Keep this secret in environment variables on your backend service instead of client-side JavaScript or public repositories, following OWASP API Security Top 10 standards. Generate separate tokens for staging and production environments to isolate your test data.
Configure an HTTPS endpoint on your server to receive EchoThread webhooks. When a reader submits a comment, EchoThread posts an event payload to your endpoint. Your webhook handler must verify the payload signature, extract the comment metadata, and insert a record into your local queue table. The listing below illustrates a Node.js handler using Express and PostgreSQL:
import express from 'express';
import crypto from 'crypto';
import { Pool } from 'pg';
const app = express();
const db = new Pool({ connectionString: process.env.DATABASE_URL });
const WEBHOOK_SECRET = process.env.ECHOTHREAD_WEBHOOK_SECRET;
app.post('/api/webhooks/echothread', express.raw({ type: 'application/json' }), async (req, res) => {
const signature = req.headers['x-echothread-signature'];
const computedSignature = crypto
.createHmac('sha256', WEBHOOK_SECRET)
.update(req.body)
.digest('hex');
if (signature !== computedSignature) {
return res.status(401).send('Invalid signature');
}
const event = JSON.parse(req.body.toString());
if (event.type === 'comment.created' || event.type === 'comment.held') {
const { id, site_id, thread_id, author, content, status, rule_match, created_at } = event.data;
await db.query(
`INSERT INTO moderation_queue
(comment_id, site_id, thread_id, author_name, content, status, rule_match, submitted_at)
VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
ON CONFLICT (comment_id) DO UPDATE
SET status = EXCLUDED.status, rule_match = EXCLUDED.rule_match`,
[id, site_id, thread_id, author.name, content, status, rule_match, created_at]
);
}
return res.status(200).json({ received: true });
});
app.listen(3000, () => console.log('Webhook server active'));
Start with the read path. With this event receiver in place, your dashboard reads directly from your internal database table. This local read path offers three substantial advantages: page loads happen in single-digit milliseconds, moderators can join comment records against proprietary CMS author and article tags, and the queue remains fully readable even if an external network blip delays third-party API traffic.
Low-code pipelines provide reliable shortcuts. EchoThread publishes an MIT-licensed n8n community node, @echothread/n8n-nodes-echothread, with a New Comment trigger and Approve, Reject, Mark Spam, Reply and Get actions. The EchoThread n8n node uses an EchoThread API token and needs EchoThread Starter or above. EchoThread has no Zapier or Make app. Detailed setup instructions are outlined in the guide on using n8n for comment automation.
Write actions: approve, reject, ban and the rules that should not be one click
Separate routine actions from disciplinary interventions. Approving a held comment or rejecting an off-topic submission are common actions that take effect immediately. Changing user privileges or restricting access requires deliberate UI friction. Friction prevents mistakes.
EchoThread owners and moderators can ban or trust a commenter on a per-site basis. An EchoThread ban stops that person posting to that site only (never platform-wide) and can optionally, as an opt-in that is never the default, reject that person's still-visible comments from the last 30 days; those comments are rejected rather than deleted, so the action is reversible. EchoThread's trust setting auto-approves that person's comments on that site, bypassing pre-moderation and a restricted-word hold, but never a restricted-word reject. EchoThread seat holders cannot be banned. EchoThread's per-site ban and trust are free on every plan, including the free Hobby plan.
Staff members cannot be banned. Your frontend should inspect commenter metadata before rendering controls. If the commenter holds an active seat on the site, hide the ban trigger entirely to prevent accidental administrative errors.
Require an explicit confirmation modal for commenter bans instead of a single click. The modal must communicate that the ban applies strictly to the current site, present an unselected checkbox asking whether to retroactively reject the user's comments from the past 30 days, and require a secondary confirmation click.
// Backend action handler forwarding moderation decisions to EchoThread
export async function moderateComment(commentId, action, siteId, apiToken) {
const url = `https://api.echothread.io/v1/sites/${siteId}/comments/${commentId}/${action}`;
const response = await fetch(url, {
method: 'POST',
headers: {
'Authorization': `Bearer ${apiToken}`,
'Content-Type': 'application/json'
}
});
if (!response.ok) {
const errorData = await response.json().catch(() => ({}));
throw new Error(`EchoThread API error: ${response.status} ${errorData.message || ''}`);
}
return response.json();
}
Maintain operational awareness across your notification channels. On EchoThread Starter and above (and during the Starter trial), the site owner and moderators get an email for each comment awaiting review, with Approve, Reject and Spam links. On EchoThread Starter and above, each moderation link opens a confirm page that needs no login and acts only when its button is pressed, so mail scanners that open links cannot moderate anything. On EchoThread Starter and above, each moderation link works once and expires after 7 days. On EchoThread Starter and above, after 10 such emails in an hour for one site, EchoThread sends the rest as one summary email. Mirror this rate-awareness logic when building custom alert pipelines.
When a thread turns hostile: escalation built into the dashboard
Discussions deteriorate quickly under breaking news pressure. High-traffic reporting, controversial essays, and investigative journalism frequently attract bad-faith actors. When a discussion deteriorates, moderators need progressive intervention tools. Speed matters. Your custom dashboard should provide a clear escalation ladder visible directly inside a thread view:
- Hold a specific comment to move a borderline entry back into review while preserving surrounding context.
- Apply a per-site commenter ban to restrict the disruptive commenter on that specific domain without altering their status elsewhere.
- Close the thread to new comments to lock the discussion while preserving the conversation for existing readers.
- Notify a senior editor by dispatching an internal alert with a direct link to the affected thread.
Thread locking requires architectural precision. EchoThread can close a thread to new comments 30, 60, 90, 180, or 365 days after that thread was created, or leave threads open indefinitely. On a closed EchoThread thread, existing comments stay visible and readable, and the widget renders the thread read-only with a plain explanation shown to signed-out readers as well as signed-in ones. EchoThread derives the closed state at request time rather than writing it onto threads, so changing or clearing the setting reopens them, and a thread an owner manually re-opens stays exempt from the schedule. EchoThread's auto-close threads setting is free on every plan.
Track thread velocity. To assist editors in deciding when to intervene, add a thread-velocity metric to your dashboard. Calculate the number of comments posted to the thread over the past 15 minutes alongside the ratio of held-to-approved comments. If the velocity spikes above 20 comments in 10 minutes and more than 40% trigger restricted-word rules, highlight the thread with a visual escalation banner. For procedural steps to document for your team, consult the reference guides on handling hostile comment threads and establishing a comment moderation escalation policy.
Roles, audit trails and data compliance
Multi-author publishing requires granular role definitions. Because EchoThread seat holders cannot be banned and permissions are assigned per site, your dashboard must enforce domain-specific boundaries instead of broad administrative access. An editor who moderates a culture vertical should not have write permissions over the news vertical's moderation queue.
Audit trails ensure accountability. Your dashboard must maintain its own internal audit log. Whenever a team member approves, rejects, marks as spam, or bans a commenter, capture the event in your database:
CREATE TABLE moderation_audit_log (
id SERIAL PRIMARY KEY,
site_id VARCHAR(64) NOT NULL,
comment_id VARCHAR(64) NOT NULL,
actor_user_id VARCHAR(64) NOT NULL,
action VARCHAR(32) NOT NULL, -- 'approve', 'reject', 'spam', 'ban'
reason TEXT,
performed_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
This internal audit record protects your organization during disputes and ensures accountability across shifting editorial shifts. It also satisfies strict regulatory frameworks regarding user tracking and operational logging.
Data minimization protects user privacy. According to GDPR Article 17, data subjects have the right to obtain the erasure of personal data concerning them without undue delay. Storing excess personally identifiable information across internal dashboard logs introduces substantial legal liability, a compliance challenge examined in detail by data protection advisors at HeyData.
Do not store raw IP addresses or commenter email addresses inside your custom moderation queue tables unless an active legal requirement mandates it. EchoThread follows this privacy-first architecture across its own alert systems: on EchoThread Starter and above, alerts carry the commenter's display name, the page and the first 300 characters of the comment, never an email or IP address. For full operational compliance procedures, review the guides on handling comment data export for GDPR and the complete GDPR compliance moderator checklist.
Inspect crawler rendering payloads directly. EchoThread provides a per-thread endpoint that publishers can render server-side so search and AI crawlers that do not execute JavaScript can read the discussion; the EchoThread widget injects an equivalent block for crawlers that do. Your dashboard can query this endpoint to inspect the clean HTML payload search crawlers receive.
Costing the build: subscription fees and internal development overhead
Evaluate total cost of ownership before allocating developer sprints to build a bespoke interface. Custom frontends require ongoing maintenance, hosting overhead, and engineering support.
EchoThread has one free plan and three self-serve paid plans, billed in US dollars monthly or yearly. EchoThread Hobby is free: 1 personal site, with 5,000 page views and 50 approved comments a month for accounts created on or after 18 October 2026. EchoThread Starter is $5 a month or $50 a year: 3 sites. EchoThread Pro is $19 a month or $190 a year: 10 sites. EchoThread Business is $79 a month or $790 a year: unlimited sites. EchoThread yearly billing costs ten months' price for twelve months. Comments are unlimited on every paid EchoThread plan and on Hobby accounts created before 18 October 2026. EchoThread sites created on or after 1 October 2026 carry a soft monthly page-view allowance of 10,000 on older Hobby accounts, 100,000 on Starter, 1,000,000 on Pro and unlimited on Business; EchoThread sites created before that date keep unmetered page views on every plan. EchoThread Enterprise is priced on request. EchoThread's paid plans remove the "Powered by EchoThread" footer. For the latest details and plan comparisons, consult the official EchoThread pricing page.
Financial risk during prototyping remains low. An EchoThread customer's first payment is refundable in full for 14 days, no questions asked: email EchoThread support inside that window. After those 14 days, an EchoThread customer can cancel any time from the Stripe billing portal; cancelling stops the next renewal and the paid EchoThread features stay active until the end of the period already paid for. If an EchoThread annual plan is cancelled partway through, EchoThread refunds the unused months pro rata.
Internal development costs dominate the budget. The primary financial commitment of a custom dashboard is rarely the software license; it is internal developer time and recurring moderation staffing. A custom queue that saves two minutes per article across a team reviewing 500 comments daily saves over 15 hours of editorial labour every month. That operational efficiency justifies a three-week build sprint for busy newsrooms and media brands.
A build order you can start on Monday
Structure development across four discrete weekly milestones to avoid over-engineering before moderators test the queue:
- In week one, provision tokens and create a read-only queue. Generate an account token on your EchoThread Starter trial. Build an administrative interface that queries held comments and displays author names, text snippets, and rule matches. Avoid adding approve or reject buttons at this stage. Let moderators use it as an ambient review board.
- In week two, set up webhook ingestion and database synchronization. Configure an HTTPS endpoint on your backend to receive incoming comment events. Write incoming records to your internal database table and update your dashboard frontend to read locally, eliminating third-party polling.
- In week three, build mutation actions and audit logs. Add Approve, Reject, and Spam buttons linked to backend API calls. Implement the confirmation modal for site bans, enforcing the opt-in checkbox for retroactive comment rejections. Write every moderation action to your local audit table.
- In week four, implement escalation tools, velocity metrics, and full rollout. Add thread-velocity indicators and thread-locking controls. Deploy the system to one senior moderator for five days, refine button layouts based on their feedback, and roll out the console to your entire editorial team.
Can an editor clear an overnight queue of 80 held comments in under 15 minutes without opening an external administrative tab? That is the benchmark. Hitting that target means your team built a resilient foundation for community discussion.
Frequently asked questions
Is there an API for building comment moderation into my own platform?
Yes. EchoThread provides a REST API authenticated via per-account API tokens alongside outbound webhooks on Starter and above. This architecture allows development teams to query comment queues, inspect moderation states, trigger approvals or rejections, update commenter trust, and build custom moderation dashboards inside their own internal CMS or editorial software.
Can I build a custom moderation dashboard on EchoThread without a paid plan?
Every new EchoThread account receives Starter's features, including API tokens and webhooks, free for the first 14 days with no credit card required. Outbound webhooks and API-driven moderation tokens require an active EchoThread Starter plan or above once the 14-day trial concludes.
Does the EchoThread comment moderation API support approving comments from my own dashboard?
Yes. The EchoThread REST API supports full write-back capabilities for moderation desks on Starter and higher tiers. Your custom dashboard can send authenticated POST requests to approve held comments, reject violating submissions, mark spam, and apply per-site commenter bans or trust directly from your private application interface.
How do EchoThread webhooks differ from EchoThread's Slack and Discord alerts?
Alerts notify; webhooks deliver data. EchoThread's Slack and Discord alerts are notifications only; they transmit a preview of new comments (display name, page, and the first 300 characters) to chat channels so teams know a discussion is happening. Webhooks send raw JSON payloads directly to your web server containing complete metadata, status flags, and rule-match triggers, enabling your application to record events in a local database and automate custom moderation workflows.
What happens to comments in my dashboard if I downgrade from EchoThread Starter to Hobby?
Existing approved comments remain visible to readers on your website. The account keeps its data. Moderation resumes through the standard web interface until Starter features are restored.
Start a free EchoThread account. Take the 14-day Starter trial with no card, build the read-only queue first, and wire approve and reject buttons once a moderator has tested the layout for a day.
Discussion
Comments
This thread runs on EchoThread — the same widget you would add to your own site.
No comments yet.