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
| Name | Type | Description |
|---|---|---|
| review_id string required | string | review_id from list_reviews. |
Request
curl https://cotlet.dev/api/v1/okendo/reviews/review_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("okendo", "get_review", {"review_id":"review_8c41d2"}) const result = await cotlet.call('okendo', 'get_review', {"review_id":"review_8c41d2"}); cotlet call okendo get_review --data '{"review_id":"review_8c41d2"}' Example response
{
"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
}