smartwebchat_chat
Send a visitor message to a chatbot and get its reply, exactly as a website visitor would see it. Use this to test how the chatbot answers, or to check whether its knowledge base covers a topic. Records a conversation and uses the account's message quota, so it needs a key with full access; a read-only key gets 401 here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | Yes | ID of the chatbot, taken from smartwebchat_list_chatbots | |
| message | Yes | The visitor message to send (max. 2000 characters) | |
| sessionId | No | Optional: pass the same session ID again to continue an existing conversation |