Publish a review

Make a pending or hidden review visible on your store.

POST https://cotlet.dev/api/v1/yotpo/reviews/{review_id}/publish

write Confirm

Clicks Publish on the review. The review then shows in the reviews widget on your product page, so shoppers see it. Photos and videos are approved the same way, one review at a time. The call returns the new status. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: publish_review
NameTypeDescription
review_id string required string Review ID from list_reviews.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/yotpo/reviews/412873702/publish \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("yotpo", "publish_review", {"review_id":"412873702"})
Node.js
const result = await cotlet.call('yotpo', 'publish_review', {"review_id":"412873702"});
CLI
cotlet call yotpo publish_review --data '{"review_id":"412873702"}'

Example response

JSON

{
  "review_id": "412873702",
  "status": "published",
  "rating": 5,
  "product": {
    "name": "Trail Runner Shoe",
    "sku": "TR-100"
  },
  "published_at": "2026-10-23T08:05:00Z"
}

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.