Get case files
GET/cases/:id/files
Returns all documents and files attached to a case.
File Types Include: • OriginalInvoice - The initial invoice/claim document • ProofOfDelivery - Delivery confirmations • Contract - Agreements and contracts • Correspondence - Email and letter communications • PaymentProof - Payment receipts and confirmations • CourtDocuments - Legal filings and court papers • Other - Miscellaneous supporting documents
File Information Includes: • File ID and case ID • File name and description/label • Document type classification • Upload timestamps (created, updated) • Download URL (temporary, signed link) • File metadata
Use Case: Use this endpoint to: • Retrieve evidence and supporting documents • Display case files in partner portals • Download documents for offline review • Build document management interfaces • Audit document completeness
Note: File URLs are temporary signed links that expire after a period. Generate new URLs by calling this endpoint again if links expire.
Request
Responses
- 200
- 400
- 404
- 500
Files retrieved successfully (may be empty array)
Case ID missing or empty
Case not found or not assigned to you as collection partner
Server error occurred while retrieving files