---
title: "Fetch case chats"
method: GET
path: "/cases/{id}/chats"
tags: ["Cases"]
---

# Fetch case chats

`GET /cases/{id}/chats`

Returns all chat messages for a case in chronological order.

**Chat Participants:**
- Collection partner (you) - Messages from your team
- Creditor - Messages from the client who owns the debt
- Debitura support - System notifications and support messages
- Managing partner (if applicable) - Messages from the partner who submitted the case

**Message Details Include:**
- Message content and timestamp
- Sender information (name, role)
- Message type (text, system notification, file attachment reference)
- Read status and delivery information

**Use Case:**
Use this endpoint to build case communication interfaces, retrieve conversation history, or integrate case discussions into your systems. Perfect for customer service tools or partner portals.

**Note:** If the case has no thread or messages, an empty array is returned.

## Path parameters

- `id` string, uuid, required

## Response `200`

Chats returned (empty array if no messages)

- DebituraWebExternalApiContractsV1ChatsChatDto[]
  - `id` string, uuid
  - `dateCreated` string, date-time
  - `dateUpdated` string, date-time, nullable
  - `role` 0 | 1 | 2
  - `roleLabel` string, nullable — Human-readable label for the role (e.g., "Partner", "Creditor", "Managed by partner"). Companion to Debitura.Web.ExternalApi.Contracts.V1.Chats.ChatDto.Role — always present when Role is set.
  - `message` string, nullable
  - `isSeen` boolean
  - `user` DebituraWebExternalApiContractsV1UsersUserRelationDto
    - `id` integer
    - `dateCreated` string, date-time, nullable
    - `dateUpdated` string, date-time, nullable
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `email` string, nullable, required

## Other responses

- `400` — Case ID missing or empty
- `404` — Case not found or not assigned to you as collection partner

---

[API](https://skmtc.net/debitura/apis/debitura-collection-partner-api.md) · [All operations](https://skmtc.net/debitura/apis/debitura-collection-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debitura/debitura-collection-partner-api/revisions/db09d0fd5c94/schema)
