Skip to main content
PUT
/
agents
/
{agentId}
/
conversations
/
{conversationId}
Update Conversation
curl --request PUT \
  --url https://api.chat-dash.com/v1/public/agents/{agentId}/conversations/{conversationId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "read": true,
  "endedAt": "<string>",
  "record": true,
  "interacted": true,
  "isLive": false
}'
{
  "message": "Conversation 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

agentId
string
required

The ID of the agent

Body

application/json
read
boolean

Whether the conversation has been read

endedAt
string

The date and time the conversation ended (ISO 8601 format: YYYY-MM-DDTHH:mm:ss.sssZ)

record
boolean

Whether to record the conversation

interacted
boolean

Whether there is user interaction in the conversation

isLive
boolean
default:false

Whether the conversation is still ongoing or has ended

Response

OK

message
string
Example:

"Conversation updated successfully"

I