PeumeAPI

Ads

Hide or unhide an ad comment

Hide or restore a TikTok ad comment. Send hidden=true to hide it or hidden=false to make it public again.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/hide-or-unhide-an-ad-comment \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "adId": "your adId",
    "commentId": "your commentId",
    "hidden": true
  }
}'

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: hide-or-unhide-an-ad-comment.

Parameters

sincestring

Start date of the comment lookup window. Defaults to 30 days before until.

untilstring

End date of the comment lookup window. Defaults to today in UTC.

adIdRequiredstring

Internal ad ID or indexed platform ad ID.

commentIdRequiredstring

TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.

hiddenRequiredboolean

True to hide the comment; false to restore it.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.