> Tychron Atlas API & Provisioning Reference — chapter 13 of 48 as Markdown. Web version: https://docs.tychron.com/api-reference/document-case-documents/
> Source: https://docs.tychron.com/api-reference/ · Updated 2026-11-30 · Generated from the Atlas OpenAPI spec (https://api.atlas.tychron.online/api/v1/openapi is the live contract; this file is a dated snapshot of it).
> Source revision: atlas_api_reference_2026-08-12.md · sha256 1a80314271ee6ef6 · sanitize gate v1 clean · reconciled with OpenAPI 2026.11.23-p02 (spec sha256 42031edc7de10063) on 2026-11-30 · content last modified 2026-11-30 · this chapter's content last changed 2026-11-30
> Scope: the Atlas platform API only. The SMS, MMS, CNAM, LRN and MCL services are separate APIs with their own specifications: https://docs.tychron.com/openapi/
> Machine index: https://docs.tychron.com/llms.txt

# Document Case Documents

The files uploaded to a Document Case. A file record has the same fields as a Request Document.

## Schema

__Type__ Object

| Name           | Type                     | Description                        |
| -------------- | ------------------------ | ---------------------------------- |
| `content_type` | String                   | [Desc. `content_type`](https://docs.tychron.com/api-reference/document-case-documents/#desc-1262) |
| `expires_at`   | String(format:date-time) | [Desc. `expires_at`](https://docs.tychron.com/api-reference/document-case-documents/#desc-1263)   |
| `filename`     | String                   | The filename of the document.      |
| `id`           | String(format:uuid)      | [Desc. `id`](https://docs.tychron.com/api-reference/document-case-documents/#desc-1264)           |
| `inserted_at`  | String(format:date-time) | An ISO8601 formatted timestamp     |
| `name`         | String(1..128)           | [Desc. `name`](https://docs.tychron.com/api-reference/document-case-documents/#desc-1265)         |
| `notes`        | String                   | [Desc. `notes`](https://docs.tychron.com/api-reference/document-case-documents/#desc-1266)        |
| `updated_at`   | String(format:date-time) | An ISO8601 formatted timestamp     |

#### Desc. `content_type` {#desc-1262}

The mime type of the document, this will be returned as the content-type header when downloading the asset.

#### Desc. `expires_at` {#desc-1263}

An ISO8601 timestamp denoting when the document will be considered expired, note you may still be able to retrieve the associated file, but once over the timestamp, it will not be guaranteed.

#### Desc. `id` {#desc-1264}

A Universally unique identifier, which identifies the resource

#### Desc. `name` {#desc-1265}

A unique name identifying the document, must be unique to the request

#### Desc. `notes` {#desc-1266}

Any additional information about the request, may be read by an operations personel in case of manual action



__Example__

```json
{
  "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
  "expires_at": "2021-08-13T04:08:44.762841Z",
  "filename": "acme_corp-lrn-2025-03-03.docx",
  "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
  "inserted_at": "2021-08-13T04:08:44.762841Z",
  "name": "LOA",
  "notes": "string",
  "updated_at": "2021-08-13T04:08:44.762841Z"
}
```



## API

### Upload Document Case File

```http
POST /api/v1/document_cases/{document_case_id}/documents HTTP/1.1
```



__Path Parameters__

| Name             | Type                 | Description                               |
| ---------------- | -------------------- | ----------------------------------------- |
| document_case_id | String(format:uuid)! | [Path Desc. document_case_id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1267) |

#### Path Desc. document_case_id {#desc-1267}

Document Case ID A Universally unique identifier, which identifies the resource

#### Request multipart/form-data

```http
POST /api/v1/document_cases/{document_case_id}/documents HTTP/1.1
Accept: application/json
Content-Type: multipart/form-data; boundary=ExampleBoundary7MA4YWxkTrZu0gW
Content-Length: 592

--ExampleBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="example.bin"
Content-Type: application/octet-stream

<binary file contents>
--ExampleBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file_hint"

DEFAULT
--ExampleBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="filename"

abc.pdf
--ExampleBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="name"

LOA
--ExampleBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="notes"

LOA from client on 2026-05-20.
--ExampleBoundary7MA4YWxkTrZu0gW--
```

#### Response 201

##### application/json

```http
HTTP/1.1 201
Content-Type: application/json
Content-Length: 432
```

```json
{
  "data": {
    "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "filename": "acme_corp-lrn-2025-03-03.docx",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "name": "LOA",
    "notes": "string",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```
#### Response 422

##### application/json

```http
HTTP/1.1 422
Content-Type: application/json
Content-Length: 241
```

```json
{
  "errors": [
    {
      "code": "invalid_parameter",
      "detail": "The specified resource could not be found",
      "source": {
        "pointer": "/data/type"
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### Delete Document Case File

```http
DELETE /api/v1/document_cases/{document_case_id}/documents/{id} HTTP/1.1
```



__Path Parameters__

| Name             | Type                 | Description                               |
| ---------------- | -------------------- | ----------------------------------------- |
| document_case_id | String(format:uuid)! | [Path Desc. document_case_id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1268) |
| id               | String(format:uuid)! | [Path Desc. id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1269)               |

#### Path Desc. document_case_id {#desc-1268}

Document Case ID A Universally unique identifier, which identifies the resource

#### Path Desc. id {#desc-1269}

Document ID A Universally unique identifier, which identifies the resource

#### Request

```http
DELETE /api/v1/document_cases/{document_case_id}/documents/{id} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 432
```

```json
{
  "data": {
    "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "filename": "acme_corp-lrn-2025-03-03.docx",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "name": "LOA",
    "notes": "string",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```
#### Response 422

##### application/json

```http
HTTP/1.1 422
Content-Type: application/json
Content-Length: 241
```

```json
{
  "errors": [
    {
      "code": "invalid_parameter",
      "detail": "The specified resource could not be found",
      "source": {
        "pointer": "/data/type"
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### List Document Case Files

```http
GET /api/v1/document_cases/{document_case_id}/documents HTTP/1.1
```



__Path Parameters__

| Name             | Type                 | Description                               |
| ---------------- | -------------------- | ----------------------------------------- |
| document_case_id | String(format:uuid)! | [Path Desc. document_case_id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1270) |

__Query Parameters__

| Name   | Type    | Description                      |
| ------ | ------- | -------------------------------- |
| first  | Integer | [Query Desc. first](https://docs.tychron.com/api-reference/document-case-documents/#desc-1271)  |
| last   | Integer | [Query Desc. last](https://docs.tychron.com/api-reference/document-case-documents/#desc-1272)   |
| after  | String  | [Query Desc. after](https://docs.tychron.com/api-reference/document-case-documents/#desc-1273)  |
| before | String  | [Query Desc. before](https://docs.tychron.com/api-reference/document-case-documents/#desc-1274) |

#### Path Desc. document_case_id {#desc-1270}

Document Case ID A Universally unique identifier, which identifies the resource

#### Query Desc. first {#desc-1271}

The number of items to return starting from the 'after' cursor

#### Query Desc. last {#desc-1272}

The number of items to return behind the 'before' cursor

#### Query Desc. after {#desc-1273}

The cursor representing the starting point of a 'first' based paging

#### Query Desc. before {#desc-1274}

The cursor representing the starting point of a 'last' based paging

#### Request

```http
GET /api/v1/document_cases/{document_case_id}/documents HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 695
```

```json
{
  "count": 1,
  "page_info": {
    "end_cursor": "YXJyYXljb25uZWN0aW9uOjQ=",
    "has_next_page": true,
    "has_previous_page": false,
    "start_cursor": "YXJyYXljb25uZWN0aW9uOjA="
  },
  "results": [
    {
      "data": {
        "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
        "expires_at": "2021-08-13T04:08:44.762841Z",
        "filename": "acme_corp-lrn-2025-03-03.docx",
        "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
        "inserted_at": "2021-08-13T04:08:44.762841Z",
        "name": "LOA",
        "notes": "string",
        "updated_at": "2021-08-13T04:08:44.762841Z"
      },
      "type": "request_document"
    }
  ]
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```
#### Response 422

##### application/json

```http
HTTP/1.1 422
Content-Type: application/json
Content-Length: 241
```

```json
{
  "errors": [
    {
      "code": "invalid_parameter",
      "detail": "The specified resource could not be found",
      "source": {
        "pointer": "/data/type"
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### Retrieve Document Case File Record

```http
GET /api/v1/document_cases/{document_case_id}/documents/{id} HTTP/1.1
```



__Path Parameters__

| Name             | Type                 | Description                               |
| ---------------- | -------------------- | ----------------------------------------- |
| document_case_id | String(format:uuid)! | [Path Desc. document_case_id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1275) |
| id               | String(format:uuid)! | [Path Desc. id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1276)               |

#### Path Desc. document_case_id {#desc-1275}

Document Case ID A Universally unique identifier, which identifies the resource

#### Path Desc. id {#desc-1276}

Document ID A Universally unique identifier, which identifies the resource

#### Request

```http
GET /api/v1/document_cases/{document_case_id}/documents/{id} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 432
```

```json
{
  "data": {
    "content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "filename": "acme_corp-lrn-2025-03-03.docx",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "name": "LOA",
    "notes": "string",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```
#### Response 422

##### application/json

```http
HTTP/1.1 422
Content-Type: application/json
Content-Length: 241
```

```json
{
  "errors": [
    {
      "code": "invalid_parameter",
      "detail": "The specified resource could not be found",
      "source": {
        "pointer": "/data/type"
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### Download Document Case File

```http
GET /api/v1/document_cases/{document_case_id}/documents/{document_id}/download HTTP/1.1
```



__Path Parameters__

| Name             | Type                 | Description                               |
| ---------------- | -------------------- | ----------------------------------------- |
| document_case_id | String(format:uuid)! | [Path Desc. document_case_id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1277) |
| document_id      | String(format:uuid)! | [Path Desc. document_id](https://docs.tychron.com/api-reference/document-case-documents/#desc-1278)      |

#### Path Desc. document_case_id {#desc-1277}

Document Case ID A Universally unique identifier, which identifies the resource

#### Path Desc. document_id {#desc-1278}

Document ID A Universally unique identifier, which identifies the resource

#### Request

```http
GET /api/v1/document_cases/{document_case_id}/documents/{document_id}/download HTTP/1.1
Accept: application/json
```
#### Response 200

##### */*

```http
HTTP/1.1 200
```

Any general binary blob from a file response call.

Depending on the API in, this response may have its content-type header appropriately set,
or defaults to application/octet-stream.

#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```
#### Response 422

##### application/json

```http
HTTP/1.1 422
Content-Type: application/json
Content-Length: 241
```

```json
{
  "errors": [
    {
      "code": "invalid_parameter",
      "detail": "The specified resource could not be found",
      "source": {
        "pointer": "/data/type"
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```

---

Previous chapter: https://docs.tychron.com/api-reference/document-cases.md  
Next chapter: https://docs.tychron.com/api-reference/roles.md  
Complete reference in one file: https://docs.tychron.com/llms-full.txt
