cURL
curl --request POST \ --url https://api.chat-dash.com/v1/public/projects/{projectId}/conversations/{conversationId}/messages \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data '{ "messages": [ { "sender": "user", "type": "text", "content": { "text": "<string>" }, "metadata": { "model": "<string>", "total": 123 }, "createdAt": "<string>" } ] }'
{ "message": "Messages added successfully" }
Push one or more new messages to a conversation
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
The ID of the project
The ID of the conversation
OK
The response is of type object.
object