---
title: "Download Document File"
method: GET
path: "/documents/download/{dcp_id}"
tags: ["Document"]
---

# Download Document File

`GET /documents/download/{dcp_id}`

## Request

- Base URL: `https://api.renesas.com/web-data/v1`
- URL: `https://api.renesas.com/web-data/v1/documents/download/{dcp_id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/renesas/apis/renesas-web-data-api/docs/documents/download/:dcp_id/get.ts> (a function with typed inputs; its response is checked against the schema)

The document file associated with the given DCP Document ID is returned in the response body. The file format varies by document (see `fileType` on the Document resource, e.g. `PDF`, `ZIP`). JSON metadata is not included in this response.

## Path parameters

- `dcp_id` string, required

## Response `200`

The document file, in its original format.

## Other responses

- `404`: Document not found

---

[API](https://skmtc.dev/renesas/apis/renesas-web-data-api.md) - [All operations](https://skmtc.dev/renesas/apis/renesas-web-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/renesas/apis/renesas-web-data-api/revisions/4a72e6c49b2c?raw)
