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,
"session_closed_payload": {}
}
'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}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,
"session_closed_payload": {}
}
'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
open, closed_resolved, closed_unresolved If true, will analyze the session and generate a summary and sentiment if the status is changed to "closed_resolved" or "closed_unresolved".
If true, the status change will be reflected in the integration (e.g., Zendesk, Salesforce) if there is a connected one.
Was this page helpful?