Get the visitor's rating of a widget answer
Read the rating the visitor gave one answer in their own thread. The list holds one rating or none, because a thread has one visitor.
GET
Returns the rating on one answer in a thread the visitor holds the token for. One embed is one principal and a thread has one visitor, so
data holds at most one rating, and is empty when the answer has not been rated.
Each call counts against the embed’s request budget, which every visitor of the embed shares. The MITHUNAI widget therefore does not read ratings back after a reload; a custom interface that does should read only the ratings it is about to show.
Call this from the visitor’s browser. It takes the embed’s public widget key in X-ARUKZ-Widget-Key, and the browser’s Origin must be allowed by both the deployment’s allowed_origins and the platform-wide widget allowlist. See Website widget.
You must also send the thread’s X-ARUKZ-Visitor-Token. The token is checked first: a missing token, another thread’s token, an unknown conversation ID and a malformed ID all return the same 404, so one visitor cannot rate, read or clear another visitor’s rating.
string
required
The conversation’s ID (UUID), from Start a widget
conversation.
string
required
The answer’s
id (UUID), from Send a widget message
or List widget messages.string
required
The deployment’s public widget key,
arukz_wk_….string
required
The visitor token returned when this thread was started.
string
required
Set by the browser. It must exactly match an origin allowed for this deployment. When you call
from outside a browser, set it yourself.
Response
object[]
required
The rating, or an empty list.
Last modified on October 12, 2026
