Cases

Fetch case chats

Changed on

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.

Availability: Cases awaiting Debitura approval or contract signing are not available to collection partners, even if a partner has already been assigned.

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

get/cases/{id}/chats

Request

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

Path parameters

idstring uuid required

Response

Chats returned (empty array if no messages)

idstring uuid
dateCreatedstring date-time
dateUpdatedstring date-time nullable
role0 | 1 | 2

Deprecated: kept as a number and never removed, but not extended — read roleLabel instead. Sender role: 0 = Partner, 1 = Creditor, 2 = ManagedByPartner.

roleLabelstring nullable

The sender role, readable. Always one of "Partner", "Creditor" or "Managed by partner" — these values are stable.

messagestring nullable
isSeenboolean

Changes

    • info

      response property items/role deprecated (media type: text/plain)

    • info

      response property items/role deprecated (media type: application/json)

    • info

      response property items/role deprecated (media type: text/json)