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

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

Request

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

Example response

JSON

{
  "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."
}

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.