Feedback reasons
get_feedback_reasonsReasons a person can pick after rating the agent. Call it once when the widget opens and cache it; re-read when the platform says the dictionary changed, or lazily by the rev value. Two lists: reasons are the live ones to draw in the window, retired are switched off and are only there so old feedback stays readable. 🔴 label is the best text WE have for the asked language and may fall back (lang says to what). source_label is what the admin actually WROTE and source_lang is the language they wrote it in — translate from THAT, never from label: translating our fallback would make a translation of a translation, losing a little at every step. When a card is shown untranslated, send reason_shown_lang with the rating so a reason picked blindly can be told from one picked on purpose. If this door is silent, show the free-text field anyway and still count the thumb — never drop a rating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language of the person, e.g. ru / uk / de-AT. Falls back exact → base → English, never Russian. |