PeumeAPI

Social publishing & inbox

Set comment moderation status

Set a comment's moderation status. Supported on YouTube only.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/set-comment-moderation-status \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "postId": "your postId",
    "commentId": "your commentId",
    "accountId": "your accountId",
    "platform": "youtube",
    "moderationStatus": "published"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: set-comment-moderation-status.

Parameters

postIdRequiredstring
commentIdRequiredstring
accountIdRequiredstring

The account ID

platformRequiredstring

Only YouTube supports comment moderation

youtube

moderationStatusRequiredstring

published approves the comment, rejected removes it, heldForReview returns it to the queue.

published · rejected · heldForReview

banAuthorboolean

Also ban the comment's author, auto-rejecting their future comments. Only valid when moderationStatus is "rejected"; any other pairing is a 400.

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.