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

# Fetch managed case chats

`GET /managed-cases/{id}/chats`

## Request

- Base URL: `https://collectionpartner-api.debitura.com`
- URL: `https://collectionpartner-api.debitura.com/managed-cases/{id}/chats`
- Auth: API key in header `XApiKey`

Returns all chat messages for a case you submitted, in chronological order.

**Chat Participants (for Managed Cases):**
- Managing partner (you) - Your messages to the collection partner
- Collection partner - Messages from the partner actively collecting the case
- Your client (creditor) - Messages from the client you represent
- Debitura support - System notifications and support messages

**Communication Flow:**
As the managing partner, you can participate in case discussions to:
- Coordinate with the collection partner
- Provide additional information about the debtor
- Relay questions from your client
- Stay updated on collection progress

**Use Case:**
Monitor collection partner communications, coordinate case strategy, or extract conversation history to share with your clients.

**Note:** Managing partners have limited write access - you can read and send messages but cannot modify case details or add payments.

## 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: Deprecated: kept as a number and never removed, but not extended — read `roleLabel` instead. Sender role: 0 = Partner, 1 = Creditor, 2 = ManagedByPartner.
  - `roleLabel` string, nullable: The sender role, readable. Always one of "Partner", "Creditor" or "Managed by partner" — these values are stable.
  - `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 submitted by you as managing partner

## Changes

- **2026-10-01** `460a861d7d9b`: 3 info
  - response property `items/role` deprecated (media type: text/plain)
  - response property `items/role` deprecated (media type: application/json)
  - response property `items/role` deprecated (media type: text/json)

[Operation history](https://skmtc.dev/debitura/apis/debitura-collection-partner-api/changes/managed-cases/:id/chats/get.md)

---

[API](https://skmtc.dev/debitura/apis/debitura-collection-partner-api.md) - [All operations](https://skmtc.dev/debitura/apis/debitura-collection-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/debitura/apis/debitura-collection-partner-api/revisions/a7cf0ff022b6?raw)
