Send a chat message on a case
POST/cases/:id/chats
Posts a new chat message on a case, visible to both the collection partner and the creditor.
Message Details:
- The message is attributed to the team member identified by
userId - The creditor will receive an email notification about the new message
- A task is created in the Debitura platform for the creditor to review the message
- Messages appear in the case chat timeline in chronological order
Prerequisites:
- The case must exist and be assigned to you as collection partner
- The
userIdmust be a valid user ID fromGET /usersbelonging to your team
Use Case: Use this endpoint to communicate with creditors about case progress, request additional information, or provide status updates. Messages sent via this endpoint are equivalent to messages sent through the partner portal chat.
Request
Responses
- 200
- 400
- 404
- 500
Chat message sent successfully
Validation error — missing fields, invalid userId, or invalid request body
Case not found or not assigned to this collection partner
Internal server error