Skip to main content
PUT
/
agents
/
{agentId}
/
conversations
/
{conversationId}
/
messages
Overwrite Conversation Messages
curl --request PUT \
  --url https://api.chat-dash.com/v1/public/agents/{agentId}/conversations/{conversationId}/messages \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    {
      "type": "text",
      "content": {
        "text": "<string>"
      },
      "metadata": {
        "model": "<string>",
        "total": 123
      },
      "createdAt": "<string>"
    }
  ]
}
'
{
  "message": "Messages updated successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.chat-dash.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

agentId
string
required

The ID of the agent

conversationId
string
required

The ID of the conversation

Body

application/json
messages
(Text Message · object | Image Message · object | Button Message · object | Choice Message · object | Card Message · object | Carousel Message · object | Debug Message · object | File Message · object | Location Message · object | Transition Message · object | Extension Message · object | Path Message · object)[]

Response

OK

message
string
Example:

"Messages updated successfully"