Contacts
Sessions
AI Phone Agents
AI Email
AI WhatsApp
AI Outbound Sequencing
AI Training
Customer Insights
Groups (teams)
Webhooks
Sessions
Get a chat session
GET
/
chat
/
sessions
/
{session_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",
"channel": {
"type": "web"
},
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"phone_number": "<string>",
"name": "<string>",
"custom_data": {}
},
"language": "<string>",
"assignee_id": "<string>",
"handoff": {
"sentiment": "angry",
"summary": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.open.cx/chat/sessions/{session_id} \
--header 'Authorization: Bearer <token>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"channel": {
"type": "web"
},
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"phone_number": "<string>",
"name": "<string>",
"custom_data": {}
},
"language": "<string>",
"assignee_id": "<string>",
"handoff": {
"sentiment": "angry",
"summary": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.