Skip to main content
PATCH
/
chat
/
sessions
/
{session_id}
Update a chat session
curl --request PATCH \
  --url https://api.open.cx/chat/sessions/{session_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "open",
  "generate_summary_and_sentiment_on_resolve": true,
  "reflect_status_change_for_integration": true,
  "session_closed_payload": {}
}
'
{
  "statusCode": 123,
  "message": "<string>",
  "error": "<string>"
}

Path Parameters

session_id
string
required

The unique identifier of the chat session

Body

application/json
status
enum<string>
Available options:
open,
closed_resolved,
closed_unresolved
generate_summary_and_sentiment_on_resolve
boolean
reflect_status_change_for_integration
boolean
session_closed_payload

Response

Default Response