Add new messages to a chat
curl --request POST \
--url https://api.qtzl.ai/chat/messages/new \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"chat_id": "<string>",
"messages": [
{
"content": "<string>",
"participant": "<string>"
}
]
}'
{
"result": "ok",
"messages": [
{
"participant": "9",
"content": "Absolutely",
"timestamp": "2025-03-14T01:42:25.960Z",
"translations": {
"es-ES": "Absolutamente"
}
},
{
"participant": "9",
"content": "Absolutely. Anything else?",
"timestamp": "2025-03-14T01:43:24.829Z",
"translations": {
"es-ES": "Absolutamente. ¿Algo más?"
}
}
]
}