Creates a new report chat message for the user
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| chatId | The ID of the chat to add the message to | integer (int32) | Required |
Request Body
WattsChatMessageCreateV202510
| Property | Description | Type |
|---|---|---|
| content | Watts chat message content Required | string |
Example Request Body
{ "content": "string"
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
WattsReportChatResponse
| Property | Description | Type |
|---|---|---|
| clarificationOptions | The list of clarification options to be presented to the user if clarification is required | string[] |
| clarificationQuestion | The clarification question to be presented to the user if clarification is required | string |
| explanation | A message providing additional information about the report creation result | string |
| isSuccess | Indicates whether the report creation was successful | boolean |
| reportId | The ID of the created report, if the report creation was successful | integer (int32) |
| requiresClarification | Indicates whether the report creation requires clarification from the user | boolean |
| resolutionSteps | The list of resolution steps to be presented to the user if clarification is required | string[] |
Example Response
{ "clarificationOptions": [
"string"
], "clarificationQuestion": "string", "explanation": "string", "isSuccess": false, "reportId": 1, "requiresClarification": false, "resolutionSteps": [
"string"
]
}