Send a review to moderation

Files a moderation request for a review with a reason, as the Moderate button does.

POST https://cotlet.dev/api/v1/reviews-io/reviews/{review_id}/moderate

write Confirm

Clicks Moderate on the review and submits the reason. REVIEWS.io decides, usually within about an hour, and the change shows within an hour after that, so the status is submitted at first. Google-sourced reviews have no Moderate button and fail. Cotlet has no tool to undo a moderation. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: moderate_review
NameTypeDescription
review_id string required string Review ID from list_reviews.
reason string required string Why the review should go, in your words, for example "not a real customer", "offensive content" or "incorrect company".

Request

cURL
curl -X POST https://cotlet.dev/api/v1/reviews-io/reviews/4829417/moderate \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"not a real customer"}'
Python
result = client.call("reviews-io", "moderate_review", {"review_id":"4829417","reason":"not a real customer"})
Node.js
const result = await cotlet.call('reviews-io', 'moderate_review', {"review_id":"4829417","reason":"not a real customer"});
CLI
cotlet call reviews-io moderate_review --data '{"review_id":"4829417","reason":"not a real customer"}'

Example response

JSON

{
  "review_id": "4829417",
  "status": "submitted",
  "reason": "not a real customer"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.