PUT
/
projects
/
{projectId}
/
conversations
/
{conversationId}
/
messages
curl --request PUT \
  --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 updated successfully"
}

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

projectId
string
required

The ID of the project

conversationId
string
required

The ID of the conversation

Body

application/json

Response

200
application/json

OK

The response is of type object.