# List a deal's contract documents

The papers issued on one deal — rendered documents, each with the template version it was built from — newest first. The path says `contract` in the singular and carries no contract id because the DEAL ROW is the contract's address in this service. Deals page only.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/contract/documents`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": [
    {
      "body": "string",
      "bodyFormat": "string",
      "id": "",
      "kind": "string",
      "renderedAt": "string",
      "renderedBy": 1,
      "rowId": "",
      "substitutions": {},
      "templateId": "",
      "templateVersion": 1,
      "title": "string"
    }
  ]
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
