Get a review

One review in full, with every photo and its reply.

GET https://cotlet.dev/api/v1/okendo/reviews/{review_id}

read

Opens the Details page of one review and returns the full text, every photo or video with its hidden or shown state, the product attributes, sentiment, the profanity flag, the verification mark and the reply with its visibility. Use it before publish_review or reject_review when the card preview is not enough.

Parameters

Parameters: get_review
NameTypeDescription
review_id string required string review_id from list_reviews.

Request

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

Example response

JSON

{
  "review_id": "rev_7d20e3",
  "product": "Canvas Tote",
  "customer": "Sam Okafor",
  "rating": 2,
  "title": "Strap broke after a week",
  "text": "The strap tore at the seam after a week of normal use. The bag itself is nice.",
  "media": [
    {
      "type": "photo",
      "hidden": false
    }
  ],
  "sentiment": "negative",
  "profanity": false,
  "verification": "unverified",
  "status": "pending",
  "reply": null
}

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.