Answer a question

Answer a customer question, public under the question or private by email. Pro, Premium and Enterprise plans.

POST https://cotlet.dev/api/v1/yotpo/questions/{question_id}/replies

write Confirm

A public answer is published on your store under the question. A private answer is emailed to the shopper who asked. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: answer_question
NameTypeDescription
question_id string required string Question ID from list_questions.
body string required string Answer text.
visibility enum enum public (default) or private.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/yotpo/questions/question_8c41d2/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"body"}'
Python
result = client.call("yotpo", "answer_question", {"question_id":"question_8c41d2","body":"body"})
Node.js
const result = await cotlet.call('yotpo', 'answer_question', {"question_id":"question_8c41d2","body":"body"});
CLI
cotlet call yotpo answer_question --data '{"question_id":"question_8c41d2","body":"body"}'

Example response

JSON

{
  "question_id": "88120437",
  "visibility": "public",
  "status": "answered",
  "posted_at": "2026-10-23T08:25:00Z"
}

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.