| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

#### Request Parameters

| Parameter | Type   | Requirement | Description |
|-----------|--------|-------------|-------------|
| portfolioId | string | required | The ID of the portfolio holding the fund investment document. |
| documentId  | string | required | The ID of the fund investment document to download. |

# ``200      A successful response.

## object

The response for the DownloadFundInvestmentDocument endpoint.

| Parameter          | Type   | Requirement | Constraints                            |
|--------------------|--------|-------------|---------------------------------------|
| portfolioId        | string | required     | length between 1 and 50              |
| documentId         | string | required     | length between 1 and 50              |
| documentName       | string | required     | length ≥ 1                            |
| downloadUrl        | string | required     | length ≥ 1                            |
| downloadUrlExpirationTime | date-time | required | The time at which the download URL will expire. |

# ``400      Returned if required fields are omitted or if provided fields fail validation.

# ``401      Returned if a valid `Authorization` header has not been included with the request.

# ``403      Returned when the user does not have permission to access the resource.

# ``500      Returned if an unexpected internal server error is encountered.

# ``default      An unexpected error response.

* * *

### Example Curl Command

```
curl --request GET \
     --url https://mock-api.carta.com/v1alpha1/portfolios/portfolioId/fundInvestmentDocuments/documentId:download \
     --header 'accept: application/json'
```

### Example JSON Response

```
{
  "portfolioId": "string",
  "documentId": "string",
  "documentName": "Capital Call Notice",
  "downloadUrl": "https://s3.amazonaws.com/carta.public/api-platform/capital_call_document_2021_01_01.pdf",
  "downloadUrlExpirationTime": "2034-01-15T01:00:00.00Z"
}
```
