GET
/
chats
/
session
/
{sessionId}
Get Session Conversation
curl --request GET \
  --url https://api.callhq.ai/api/chats/session/{sessionId} \
  --header 'x-api-key: <api-key>'
{
  "message": "<string>",
  "session": {
    "id": "<string>",
    "name": "<string>",
    "status": "<string>",
    "assistantId": "<string>",
    "messages": [
      {
        "role": "user",
        "content": "<string>"
      }
    ],
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

sessionId
string
required

ID of the session to retrieve

Response

200
application/json

Session conversation retrieved successfully

The response is of type object.