---
title: "Get chat messages for a session"
method: GET
path: "/public/widget/chat/sessions/{sessionId}/messages"
tags: ["Widget"]
---

# Get chat messages for a session

`GET /public/widget/chat/sessions/{sessionId}/messages`

## Path parameters

- `sessionId` string, required

## Query parameters

- `clinicId` string, required

## Response `200`

OK

- GetChatMessagesResponse
  - `messages` WidgetChatMessageDto[]
    - `id` string
    - `sessionId` string
    - `content` string
    - `from` string
    - `createdAt` string, date-time

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/a905bde4e796/schema)
