> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # SendUserMessageStreamed # Package: forms # Namespace: InteractiveFormSessionsService # Method link: https://dev.wix.com/docs/api-reference/crm/forms/interactive-form-sessions/send-user-message-streamed.md ## Permission Scopes: Manage form submissions.: SCOPE.FORMS.MANAGE-SUBMISSIONS ## Introduction Submits a user message to an existing interactive form session and processes the conversational input, with real-time streaming. For implementations that prefer to wait for the complete response, call [Send User Message](https://dev.wix.com/docs/api-reference/crm/forms/interactive-form-sessions/send-user-message.md) instead. --- ## REST API ### Schema ``` Method: sendUserMessageStreamed Description: Submits a user message to an existing interactive form session and processes the conversational input, with real-time streaming. For implementations that prefer to wait for the complete response, call [Send User Message](https://dev.wix.com/docs/api-reference/crm/forms/interactive-form-sessions/send-user-message.md) instead. URL: https://www.wixapis.com/forms/ai/v1/interactive-form-sessions/{interactiveFormSessionId}/send-user-message-streamed Method: POST Method parameters: param name: currentValues | type: currentValues | description: Form field values to apply to the session. Use this to update form data from other sources while the conversation is ongoing. These values override any existing data for the same field keys. For example: `{"lastName": "Smith", "phoneNumber": "+1234567890"}`. param name: input | type: input | description: User's natural language input to process. The AI assistant analyzes this text to extract form field data and determine the next conversation step. Return type: SendUserMessageStreamedResponse - name: responseChunk | type: InteractiveFormSessionResponseChunk | description: AI assistant response chunk streamed in real-time as the message is processed. - ONE-OF: - name: textDetails | type: TextDetails | description: Conversational text message for display. - name: text | type: string | description: Text content to display. - name: style | type: Style | description: Text formatting style for visual presentation. - enum: - NORMAL: Regular conversational text. - BOLD: Bold text for emphasis. - name: textDataDetails | type: TextDataDetails | description: Structured data extracted from user input and mapped to specific form fields. - name: fieldTarget | type: string | description: Form field identifier that this extracted data maps to. Matches a field name in the form schema. - name: text | type: string | description: Human-readable text representation of the extracted data to display. - name: value | type: Value | description: Structured value for form submission (for example, boolean `true`/`false`, number, or string). This is the actual data value that will be submitted with the form. - ONE-OF: - name: nullValue | type: | description: - name: numberValue | type: number | description: - name: stringValue | type: string | description: - name: boolValue | type: boolean | description: - name: structValue | type: object | description: - name: listValue | type: ListValue | description: - name: values | type: array | description: - name: displayValue | type: string | description: User-friendly display representation of the value (for example, "Yes"/"No" for boolean, "25 years old" for age). Use this to display confirmation of what was extracted from the user's input. - name: multiSelectInputDetails | type: MultiSelectInputDetails | description: Selector for selecting multiple options from a predefined list. - name: fieldTarget | type: string | description: Form field identifier for the multi-select input. - name: options | type: array