GET
/
api
/
external
/
chatbot
/
{chatbotId}
/
conversations
/
{sessionId}
curl --request GET \
  --url https://v2.okchat.ai/api/external/chatbot/{chatbotId}/conversations/{sessionId} \
  --header 'Content-Type: application/json' \
  --data '""'
{
  "session": {
    "active": true,
    "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6",
    "created_at": "2025-01-22T10:21:17.313285+00:00",
    "id": "7a04ca3c-4ea8-44f5-b14d-f61bec64ea14",
    "is_human_mode": false,
    "last_message": "Tell me about the history of the internet.",
    "metadata": {
      "anonymous": true
    },
    "migrated_data": false,
    "platform": "web",
    "session_token": null,
    "sns_user_id": "sessionToken789",
    "updated_at": "2025-01-22T10:24:54.750912+00:00",
    "user_id": null,
    "voice_path": null
  }
}

Headers

x-api-key
string
Example:

"15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68"

Path Parameters

chatbotId
string
required
Example:

"5afe16ed-5fd2-4552-a993-903bc9c32bb6"

sessionId
string
required
Example:

"7a04ca3c-4ea8-44f5-b14d-f61bec64ea14"

Body

application/json · any

The body is of type any.

Response

200 - application/json
Example
session
object