cURL
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" } }
ID of the session to retrieve
Session conversation retrieved successfully
The response is of type object.
object