Get a website chat with its messages
The chat and the messages the visitor saw, oldest first: visitor messages, AI replies, team replies, and system notices. Internal messages such as the AI's tool calls are not included. Reading a chat never marks it as read.
Authorization
bearerAuth API key in the Authorization: Bearer <key> header.
Keys are created in the SMAO dashboard (Settings → API Keys).
In: header
Path Parameters
The chat's UUID, as the dashboard Inbox shows it and listChats returns it.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/chats/3f2b8c1e-9a4d-4c6b-8f1e-2d7a5b9c0e41"{ "data": { "id": "string", "widget_id": "string", "widget_name": "string", "assistant_id": "string", "assistant_name": "string", "language": "string", "status": "open", "current_responder": "ai", "needs_human": true, "human_request_reason": "explicit_request", "human_requested_at": "2019-08-24T14:15:22Z", "human_takeover_at": "2019-08-24T14:15:22Z", "visitor": { "name": "string", "email": "user@example.com" }, "page_url": "string", "origin": "string", "last_message_preview": "string", "last_message_author": "visitor", "last_message_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "closed_at": "2019-08-24T14:15:22Z", "messages": [ { "id": "string", "sequence": 1, "author": "visitor", "author_name": "string", "content": "string", "created_at": "2019-08-24T14:15:22Z" } ], "messages_truncated": true }}List website chats (paginated) GET
Chats from the website widget, newest activity first (`last_message_at` descending). Chats in which the visitor never wrote are not listed.
List available statistics filters GET
Returns the filter values that populate statistics dashboards: every ISO (week, year) pair, in German time (Europe/Berlin), in which at least one completed call of the organization started, plus every assistant in the organization. The `all` assistant sentinel is **not** returned - clients can always pass `assistant_id=all` to the `/usage` endpoint regardless of this list.