post https://api.sentiyen.com/api/v3/chat/message/create
Create a new message record. This endpoint should be used when a Streaming flow is selected or when a messageId/conversationId has to be known in advance.
Sample request:
{
  "channelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "source": "WEBSITE",
  "message": "string",
  "conversationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "senderId": "[email protected]"
}
Sample response:
{
  "channelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "conversationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "messageId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "messageContent": "string",
  "createdAt": "2023-07-19T22:50:30.845Z"
}
