curl --request GET \
--url https://api.open.cx/chat/sessions/{session_id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"ai_closure_type": "assumed_resolved",
"sentiment": "angry",
"channel": {
"type": "web"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"phone_number": "<string>",
"name": "<string>",
"custom_data": {}
},
"language": "<string>",
"assignee_id": "<string>",
"custom_data": {},
"team": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>"
},
"handoff": {
"summary": "<string>",
"sentiment": "angry"
},
"ticketing_system": {
"name": "dynamics365",
"external_id": "<string>",
"id_type": "conversation_id"
}
}curl --request GET \
--url https://api.open.cx/chat/sessions/{session_id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"ai_closure_type": "assumed_resolved",
"sentiment": "angry",
"channel": {
"type": "web"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"phone_number": "<string>",
"name": "<string>",
"custom_data": {}
},
"language": "<string>",
"assignee_id": "<string>",
"custom_data": {},
"team": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>"
},
"handoff": {
"summary": "<string>",
"sentiment": "angry"
},
"ticketing_system": {
"name": "dynamics365",
"external_id": "<string>",
"id_type": "conversation_id"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
open, closed_resolved, closed_unresolved assumed_resolved, handed_off, resolved angry, happy, neutral Show child attributes
ISO 8601 date-time string
ISO 8601 date-time string
Show child attributes
Show child attributes
Present if the session is assigned to a team.
Show child attributes
Present if the conversation was handed off to a human.
Show child attributes
Present if the session is associated with a ticketing system.
Show child attributes
Was this page helpful?