Appends a user message to the conversation.
cURL
curl --request POST \ --url https://api.qwix.chat/api/v1/conversations/{conversationId}/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "system", "content": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
JWT from POST /auth/login, or an API key via the same header depending on client configuration.
POST /auth/login
Non-empty after trim
1
Message created
system
user
assistant