cURL
curl --request POST \ --url https://api.chat-dash.com/v1/public/agents/{agentId}/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 agent
The ID of the conversation
Show child attributes
OK
"Messages added successfully"