---
title: "Retrieve attachment"
method: GET
path: "/api/dataentities/{acronym}/documents/{id}/{field}/attachments/{file-name}"
tags: ["Attachments"]
---

# Retrieve attachment

`GET /api/dataentities/{acronym}/documents/{id}/{field}/attachments/{file-name}`

Use this API to retrieve a file.

Be sure to include the file extension in the name. Like in this example:
```
/dataentities/CL/documents/123/file/attachments/image.png
```

## Path parameters

- `acronym` string, required
- `id` string, required
- `field` string, required
- `file-name` string, required

## Response `200`

---

[API](https://skmtc.net/vtex/apis/masterdata-api.md) · [All operations](https://skmtc.net/vtex/apis/masterdata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vtex/masterdata-api/versions/399ffd1b5be1/schema)
