---
title: "Download the media file associated to an asset"
method: GET
path: "/api/rest/v1/asset-media-files/{code}"
tags: ["Asset media file"]
---

# Download the media file associated to an asset

`GET /api/rest/v1/asset-media-files/{code}`

This endpoint allows you to download a given media file that is associated with an asset.

## Path parameters

- `code` string, required

## Response `200`

OK

## Other responses

- `401` — Authentication required
- `404` — Resource not found

---

[API](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api.md) · [All operations](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeneo/akeneo-pim-rest-api/versions/d8bda9b93b59/schema)
