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>"
}Updates a chat session. Can change status, generate summary/sentiment on resolve, and reflect status changes to integrations.
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>"
}The unique identifier of the chat session
Default Response
Was this page helpful?