Publish a review

Publishes a pending or hidden review on the storefront.

POST https://cotlet.dev/api/v1/judge-me/reviews/{review_id}/publish

write

Moves the review to Published. A published review counts toward the average rating and the review count again. The reviewer is not told, and one hide_review call undoes it, so it does not wait for your OK.

Parameters

Parameters: publish_review
NameTypeDescription
review_id integer required integer Review ID from list_reviews or get_review.

Request

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

Example response

JSON

{
  "review_id": 48210934,
  "status": "published"
}

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.