> Tychron Atlas API & Provisioning Reference — chapter 12 of 48 as Markdown. Web version: https://docs.tychron.com/api-reference/document-cases/
> 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 Cases

## Schema

An collection of documents, reusable across multiple requests.


__Type__ Object

| Name                 | Type                                                   | Description                         |
| -------------------- | ------------------------------------------------------ | ----------------------------------- |
| `expires_at`         | String(format:date-time)                               | An ISO8601 formatted timestamp      |
| `id`                 | String(format:uuid)                                    | [Desc. `id`](https://docs.tychron.com/api-reference/document-cases/#desc-1242)            |
| `inserted_at`        | String(format:date-time)                               | An ISO8601 formatted timestamp      |
| `last_reviewed_at`   | String(format:date-time)                               | An ISO8601 formatted timestamp      |
| `name`               | String(1..64)                                          | Display name for the Document Case. |
| `notes`              | String(0..8192)                                        | [Desc. `notes`](https://docs.tychron.com/api-reference/document-cases/#desc-1243)         |
| `review_description` | String                                                 |                                     |
| `review_status`      | Enum(`NONE`, `PENDING`, `APPROVED`, `REJECTED`):String |                                     |
| `updated_at`         | String(format:date-time)                               | An ISO8601 formatted timestamp      |

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

A Universally unique identifier, which identifies the resource

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

Any notes about the request document case.



__Example__

```json
{
  "expires_at": "2021-08-13T04:08:44.762841Z",
  "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
  "inserted_at": "2021-08-13T04:08:44.762841Z",
  "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
  "name": "string",
  "notes": "string",
  "review_description": "string",
  "review_status": "NONE",
  "updated_at": "2021-08-13T04:08:44.762841Z"
}
```



## API

### Create Document Case

```http
POST /api/v1/document_cases HTTP/1.1
```



#### Request application/json

```http
POST /api/v1/document_cases HTTP/1.1
Accept: application/json
Content-Type: application/json
Content-Length: 98
```

```json
{
  "data": {
    "name": "string",
    "notes": "string"
  },
  "type": "request_document_case"
}
```

#### Response 201

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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"
    }
  ]
}
```


### Update Document Case

```http
PATCH /api/v1/document_cases/{id} HTTP/1.1
```

The same operation is also available as:

```http
PUT /api/v1/document_cases/{id} HTTP/1.1
```


__Path Parameters__

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

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

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

#### Request application/json

```http
PATCH /api/v1/document_cases/{id} HTTP/1.1
Accept: application/json
Content-Type: application/json
Content-Length: 98
```

```json
{
  "data": {
    "name": "string",
    "notes": "string"
  },
  "type": "request_document_case"
}
```

#### Response 200

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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

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

Delete a case and its uploaded files. Cases attached to requests must first be detached.


__Path Parameters__

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

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

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

#### Request

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

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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 Cases

```http
GET /api/v1/document_cases HTTP/1.1
```



__Query Parameters__

| Name   | Type    | Description                      |
| ------ | ------- | -------------------------------- |
| first  | Integer | [Query Desc. first](https://docs.tychron.com/api-reference/document-cases/#desc-1246)  |
| last   | Integer | [Query Desc. last](https://docs.tychron.com/api-reference/document-cases/#desc-1247)   |
| after  | String  | [Query Desc. after](https://docs.tychron.com/api-reference/document-cases/#desc-1248)  |
| before | String  | [Query Desc. before](https://docs.tychron.com/api-reference/document-cases/#desc-1249) |

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

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

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

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

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

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

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

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

#### Request

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

##### application/json

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

```json
{
  "count": 1,
  "page_info": {
    "end_cursor": "YXJyYXljb25uZWN0aW9uOjQ=",
    "has_next_page": true,
    "has_previous_page": false,
    "start_cursor": "YXJyYXljb25uZWN0aW9uOjA="
  },
  "results": [
    {
      "associations": {
        "account": {
          "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
        },
        "author": {
          "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
        },
        "reviewer": {
          "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
        }
      },
      "data": {
        "expires_at": "2021-08-13T04:08:44.762841Z",
        "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
        "inserted_at": "2021-08-13T04:08:44.762841Z",
        "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
        "name": "string",
        "notes": "string",
        "review_description": "string",
        "review_status": "NONE",
        "updated_at": "2021-08-13T04:08:44.762841Z"
      },
      "type": "request_document_case"
    }
  ]
}
```
#### 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

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



__Path Parameters__

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

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

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

#### Request

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

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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"
    }
  ]
}
```


### Attach Cart Request Document Case

```http
PUT /api/v1/carts/{cart_id}/requests/{request_id}/document_case/{id} HTTP/1.1
```



__Path Parameters__

| Name       | Type                 | Description                         |
| ---------- | -------------------- | ----------------------------------- |
| cart_id    | String(format:ulid)! | [Path Desc. cart_id](https://docs.tychron.com/api-reference/document-cases/#desc-1251)    |
| request_id | String(format:ulid)! | [Path Desc. request_id](https://docs.tychron.com/api-reference/document-cases/#desc-1252) |
| id         | String(format:uuid)! | [Path Desc. id](https://docs.tychron.com/api-reference/document-cases/#desc-1253)         |

#### Path Desc. cart_id {#desc-1251}

Cart ID Another format for UUID, used primarily for tasks, requests and messages.

#### Path Desc. request_id {#desc-1252}

Request ID Another format for UUID, used primarily for tasks, requests and messages.

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

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

#### Request

```http
PUT /api/v1/carts/{cart_id}/requests/{request_id}/document_case/{id} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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 412

##### application/json

```http
HTTP/1.1 412
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"
    }
  ]
}
```
#### 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 Cart Request Document Case

```http
GET /api/v1/carts/{cart_id}/requests/{request_id}/document_case HTTP/1.1
```



__Path Parameters__

| Name       | Type                 | Description                         |
| ---------- | -------------------- | ----------------------------------- |
| cart_id    | String(format:ulid)! | [Path Desc. cart_id](https://docs.tychron.com/api-reference/document-cases/#desc-1254)    |
| request_id | String(format:ulid)! | [Path Desc. request_id](https://docs.tychron.com/api-reference/document-cases/#desc-1255) |

#### Path Desc. cart_id {#desc-1254}

Cart ID Another format for UUID, used primarily for tasks, requests and messages.

#### Path Desc. request_id {#desc-1255}

Request ID Another format for UUID, used primarily for tasks, requests and messages.

#### Request

```http
GET /api/v1/carts/{cart_id}/requests/{request_id}/document_case HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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 412

##### application/json

```http
HTTP/1.1 412
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"
    }
  ]
}
```
#### 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"
    }
  ]
}
```


### Detach Cart Request Document Case

```http
DELETE /api/v1/carts/{cart_id}/requests/{request_id}/document_case HTTP/1.1
```



__Path Parameters__

| Name       | Type                 | Description                         |
| ---------- | -------------------- | ----------------------------------- |
| cart_id    | String(format:ulid)! | [Path Desc. cart_id](https://docs.tychron.com/api-reference/document-cases/#desc-1256)    |
| request_id | String(format:ulid)! | [Path Desc. request_id](https://docs.tychron.com/api-reference/document-cases/#desc-1257) |

#### Path Desc. cart_id {#desc-1256}

Cart ID Another format for UUID, used primarily for tasks, requests and messages.

#### Path Desc. request_id {#desc-1257}

Request ID Another format for UUID, used primarily for tasks, requests and messages.

#### Request

```http
DELETE /api/v1/carts/{cart_id}/requests/{request_id}/document_case HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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 412

##### application/json

```http
HTTP/1.1 412
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"
    }
  ]
}
```
#### 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"
    }
  ]
}
```


### Attach Request Document Case

```http
PUT /api/v1/requests/{request_id}/document_case/{id} HTTP/1.1
```



__Path Parameters__

| Name       | Type                 | Description                         |
| ---------- | -------------------- | ----------------------------------- |
| request_id | String(format:ulid)! | [Path Desc. request_id](https://docs.tychron.com/api-reference/document-cases/#desc-1258) |
| id         | String(format:uuid)! | [Path Desc. id](https://docs.tychron.com/api-reference/document-cases/#desc-1259)         |

#### Path Desc. request_id {#desc-1258}

Request ID Another format for UUID, used primarily for tasks, requests and messages.

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

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

#### Request

```http
PUT /api/v1/requests/{request_id}/document_case/{id} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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 412

##### application/json

```http
HTTP/1.1 412
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"
    }
  ]
}
```
#### 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 Request Document Case

```http
GET /api/v1/requests/{request_id}/document_case HTTP/1.1
```



__Path Parameters__

| Name       | Type                 | Description                         |
| ---------- | -------------------- | ----------------------------------- |
| request_id | String(format:ulid)! | [Path Desc. request_id](https://docs.tychron.com/api-reference/document-cases/#desc-1260) |

#### Path Desc. request_id {#desc-1260}

Request ID Another format for UUID, used primarily for tasks, requests and messages.

#### Request

```http
GET /api/v1/requests/{request_id}/document_case HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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 412

##### application/json

```http
HTTP/1.1 412
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"
    }
  ]
}
```
#### 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"
    }
  ]
}
```


### Detach Request Document Case

```http
DELETE /api/v1/requests/{request_id}/document_case HTTP/1.1
```



__Path Parameters__

| Name       | Type                 | Description                         |
| ---------- | -------------------- | ----------------------------------- |
| request_id | String(format:ulid)! | [Path Desc. request_id](https://docs.tychron.com/api-reference/document-cases/#desc-1261) |

#### Path Desc. request_id {#desc-1261}

Request ID Another format for UUID, used primarily for tasks, requests and messages.

#### Request

```http
DELETE /api/v1/requests/{request_id}/document_case HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

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

```json
{
  "associations": {
    "account": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "author": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    },
    "reviewer": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "expires_at": "2021-08-13T04:08:44.762841Z",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "last_reviewed_at": "2021-08-13T04:08:44.762841Z",
    "name": "string",
    "notes": "string",
    "review_description": "string",
    "review_status": "NONE",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "request_document_case"
}
```
#### 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 412

##### application/json

```http
HTTP/1.1 412
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"
    }
  ]
}
```
#### 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/request-provision-records.md  
Next chapter: https://docs.tychron.com/api-reference/document-case-documents.md  
Complete reference in one file: https://docs.tychron.com/llms-full.txt
