---
title: "GET /parties/{partyId}/attachments/{attachmentId}/file"
method: GET
path: "/parties/{partyId}/attachments/{attachmentId}/file"
tags: ["Attachments"]
---

# GET /parties/{partyId}/attachments/{attachmentId}/file

`GET /parties/{partyId}/attachments/{attachmentId}/file`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/parties/{partyId}/attachments/{attachmentId}/file`
- Auth: API key in header `Authorization`

Downloads and returns attachment as response for the given input filePath.

## Path parameters

- `partyId` string, required
- `attachmentId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- string, binary

## Other responses

- `default`: Error

## Changes

- **2026-07-13** (2021-03-31-preview) `aae0a90ec457`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/changes/parties/:partyId/attachments/:attachmentId/file/get.md)

---

[API](https://skmtc.dev/azure/apis/agrifood-agfoodplatform.md) - [All operations](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/revisions/33cf1de6e0c4?raw)
