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.
Request
Responses
- 200
- 400
- 404
Chats returned (empty array if no messages)
Case ID missing or empty
Case not found or not assigned to you as collection partner