Skip to main content
POST
The widget’s form deflector shows a cited answer beside a support form before it is sent. This records what happened next on the thread the answer came from: deflected when the visitor said it solved their question and did not send the form, submitted when they sent it anyway. The embedded widget calls it for you; call it yourself only if you build your own deflector on the widget API. The outcome is stored on the conversation and counted in Get usage analytics under deflections. A later call replaces an earlier one, so a visitor who said it helped and then sent the form counts as submitted. Nothing else about the conversation changes. The call is recorded in the audit log as conversation.deflection, with the outcome and nothing else. Call this from the visitor’s browser with the embed’s public widget key in X-MITHUNAI-Widget-Key and the thread’s X-MITHUNAI-Visitor-Token. A missing or wrong token, an unknown conversation ID and a malformed ID all return the same 404. See Website widget.
string
required
The conversation’s ID (UUID), from Start a widget conversation.
string
required
The deployment’s public widget key, mithunai_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.
string
required
deflected or submitted. Anything else returns 400.

Response

string
required
The outcome recorded.
Last modified on November 12, 2026