Skip to content

Get chat session​

GET
/chats/{session_id}

Returns chat session details including visitor info and status. Requires chats:read scope.

Authorizations​

BearerAuth

API key in format lm_xxxxxxxxxxxxxxxx. Get your key at app.looma.chat/integrations.

Type
HTTP (bearer)

Parameters​

Path Parameters

session_id*

Session ID (e.g. session_xxx or tg_1_12345)

Type
string
Required

Responses​

Chat session

application/json
JSON
{
"success": true,
"data": {
"session_id": "string",
"site_id": 0,
"channel_id": 0,
"visitor_id": "string",
"client_name": "string",
"status": "string",
"source": "string",
"message_count": 0,
"first_message_at": "string",
"last_message_at": "string",
"country_code": "string",
"country_name": "string",
"city": "string",
"region": "string",
"utm_source": "string",
"utm_medium": "string",
"utm_campaign": "string",
"referrer": "string",
"landing_page": "string",
"visitor_email": "string",
"visitor_phone": "string",
"visitor_display_name": "string",
"operator_name": "string",
"email_enabled": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Looma.chat — AI-powered e-commerce search & chat