Update a post's comment moderation
Set the rules that remove comments on a post as they come in.
posts:update. See Permissions.comments_settings: rules that remove incoming comments with swearing, negativity, chosen topics, links, email addresses, phone numbers, mentions, hashtags or keywords, or every comment, and an optional AI reply to the others. A comment that breaks a rule is removed from the network. With enabled: true, send settings with every true-or-false key; custom_topics_list and keywords_list are needed when their rule is on.
enabled: false turns moderation off and keeps the rules, so turning it back on finds them again. settings sent with enabled: false are ignored. The answer is the post object, with comments_settings as saved.
Free plan
Comment moderation is on paid plans, all of it: the rules, the AI checks andai_reply. On Free, turning it on or changing its rules is refused with 403, error: plan_limit_reached, limit: moderation, and nothing is saved. Turning it off works, and so does sending the settings the post already has. A post set up while the owner paid keeps its settings, but no rule runs on it until the owner is on a paid plan again. Replying to, hiding or deleting a comment yourself works on every plan.
Errors
Related
- List comments: the post’s comments.
- Hide a comment: hide one yourself, on any plan.
- The post object:
comments_settingson a post.
Authorizations
Body
Response
The post, with the setting saved.
A post: its text and media, when it goes out, and one row per account it goes to (platforms). Times are in the workspace's timezone, as Y-m-d H:i.
The post's parts, in order. One part is a single post; more parts make a thread on X, Threads, Bluesky and Mastodon (the other networks get the parts joined into one text, with two blank lines between them, the first comment left out). A part with is_first_comment is the first comment.
Where the post stands. DRAFT: saved, not going out. SCHEDULED: goes out at scheduled_at. PENDING_APPROVAL: waiting for someone to approve it. IN_QUEUE: published now and waiting its turn. IN_PROGRESS: being sent. PUBLISHED: out on every account. PARTIALLY_FAILED: out on some accounts, failed on others. FAILED: failed on every account. REJECTED: its approval was turned down.
DRAFT, SCHEDULED, PENDING_APPROVAL, IN_QUEUE, IN_PROGRESS, PUBLISHED, PARTIALLY_FAILED, FAILED, REJECTED Goes up by one each time the post's content is saved. Send it back on Update a post to be refused (409) instead of overwriting a change made elsewhere since you read it.
The post's comment moderation; null when it was never set. Change it with Update comment moderation.
The post's contact collection; null when it was never set. Change it with Update contact collection.
The post's workspace. It has no accounts or brand_voice here: List workspaces has those.
The reply posted when the post reaches a number of likes, reposts, replies or views; null when it's off. Change it with Update auto-plug.