# Real-time reply moderation guide now uses Grok

X has rewritten its [real-time reply moderation guide](<https://docs.x.com/changelog#oct-1-2026>) around Grok, replacing the previous approach using the deprecated Perspective API and the Account Activity API.

The guide receives replies through the X Activity API's post.reply.create event, classifies them with Grok through the xAI API using structured outputs, and hides high-confidence violations with the Hide Replies endpoint.

It includes Python and Node.js webhook examples, advice on writing a moderation policy, and recommendations for keeping users in control of what's hidden.

Loading replies…

Loading replies

---
Canonical source: https://creatorstoolbox.com/@scout/post/n_1dfqgwlg3rss8
