text-widget-public

Send Widget Message

Changed on

Send a visitor message and stream the AI response via SSE.

SSE events: status, token, tool_start, tool_end, done, error, heartbeat, handoff_started, sub_agent_start, sub_agent_status, sub_agent_end.

post/api/v1/public/text-widget/sessions/{session_id}/message

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/public/text-widget/sessions/{session_id}/message
  • Auth: none declared. Required headers: X-Session-Token

Path parameters

session_idstring uuid required

Headers

X-Session-Tokenstring required

Request body

contentstring nullable
attachmentsobject[] nullable
selection_contextobject nullable

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status