---
title: "Gets file content by ID."
method: GET
path: "/files/{id}/content"
tags: ["Retrieve File"]
---

# Gets file content by ID.

`GET /files/{id}/content`

Allows the caller to download the contents of the file associated with File resource. You must supply the unique identifier of the file.

## Path parameters

- `id` string, required

## Response `200`

OK.

- FileContent
  - `id` string — The unique identifier of the file.
  - `fileName` string — The name of the file.

## Other responses

- `404` — 404 Not Found

---

[API](https://skmtc.net/digitalriver/apis/commerce-api-suite-admin-apis.md) · [All operations](https://skmtc.net/digitalriver/apis/commerce-api-suite-admin-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/commerce-api-suite-admin-apis/revisions/a6efafc1669c/schema)
