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 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "open",
  "generate_summary_and_sentiment_on_resolve": true,
  "reflect_status_change_for_integration": true
}'
This response has no body data.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string
required

Body

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

If true, will analyze the session and generate a summary and sentiment if the status is changed to "closed_resolved" or "closed_unresolved".

reflect_status_change_for_integration
boolean

If true, the status change will be reflected in the integration (e.g., Zendesk, Salesforce) if there is a connected one.