Upload a file to a case. Optionally posts a system chat message to notify the collection partner.
POST/cases/:caseId/files
Uploads a file and associates it with a case owned by one of the referral partner's clients.
File requirements:
- Maximum file size: 25 MB
- Allowed types: PDF, Excel (.xls, .xlsx), CSV, Text (.txt), Images (.jpg, .jpeg, .png, .gif)
When sendChatNotification is true (default), a system message is posted on the case chat to notify the collection partner that a new file was uploaded.
Request
Responses
- 200
- 400
- 404
- 413
- 415
- 500
File uploaded successfully
Validation error
Case not found
File too large
Unsupported file type
Internal server error