Suggest a review reply
A draft reply from Okendo AI for one review. Saves nothing.
GET https://cotlet.dev/api/v1/okendo/reviews/{review_id}/reply/suggest
read
Clicks Suggest AI Reply in the reply editor and returns the draft. Okendo writes it from the review, its language and your last 6 human-written replies for that sentiment. Calling it again is Regenerate: the new draft replaces the old one and there is no rollback. Nothing is saved or sent until reply_to_review is called.
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/reply/suggest \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("okendo", "suggest_review_reply", {"review_id":"review_8c41d2"}) const result = await cotlet.call('okendo', 'suggest_review_reply', {"review_id":"review_8c41d2"}); cotlet call okendo suggest_review_reply --data '{"review_id":"review_8c41d2"}' Example response
{
"review_id": "rev_7d20e3",
"draft": "Thank you for telling us, Sam. We are sorry the strap broke. Please reply to this email with your order number and we will make it right."
}