---
title: "Get case files"
method: GET
path: "/cases/{id}/files"
tags: ["Cases"]
---

# Get case files

`GET /cases/{id}/files`

## Request

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

Returns all documents and files attached to a case.

**Document type:** `documentType` holds the same values the upload endpoint accepts for `DocumentType`,
`AutoGeneratedSummary` for a summary the platform generated, or `null` when the uploader did not specify a type.

**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.

## Path parameters

- `id` string, uuid, required

## Response `200`

Files retrieved successfully (may be empty array)

- DebituraWebExternalApiContractsV1FilesCaseFileDto[]
  - `id` string, uuid
  - `dateCreated` string, date-time
  - `dateUpdated` string, date-time
  - `caseId` string, uuid
  - `entityType` string, nullable
  - `entityId` string, uuid
  - `fileName` string, nullable
  - `url` string, nullable
  - `description` string, nullable
  - `documentType` string, nullable

## Other responses

- `400`: Case ID missing or empty
- `404`: Case not found or not assigned to you as collection partner
- `500`: Server error occurred while retrieving files

---

[API](https://skmtc.dev/debitura/apis/debitura-collection-partner-api.md) - [All operations](https://skmtc.dev/debitura/apis/debitura-collection-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/debitura/apis/debitura-collection-partner-api/revisions/a7cf0ff022b6?raw)
