---
title: "Retrieve (one or more) vendor questionnaire attachments by id"
method: GET
path: "/vendor/questionnaire/attachment"
tags: ["vendors"]
---

# Retrieve (one or more) vendor questionnaire attachments by id

`GET /vendor/questionnaire/attachment`

## Request

- Base URL: `https://cyber-risk.upguard.com/api/public`
- URL: `https://cyber-risk.upguard.com/api/public/vendor/questionnaire/attachment`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/docs/vendor/questionnaire/attachment/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the body of one or more questionnaire attachments that have been attached to a one or more vendor questionnaire instances.
If multiple attachments are requested, then by default the files are returned as a multi-part mime response.
Alternately, the zip option can be used to return multiple files as a single zip archive

## Query parameters

- `attachment_ids` integer[]
- `zip` boolean

## Response `200`

Vendors attachment

## Other responses

- `300`: Request requires multipart receipt ability
- `403`: Account does not have access to requested entities
- `422`: An invalid parameter was supplied or a mandatory parameter was missing
- `429`: Too many requests have been made to this endpoint.
- `500`: An internal system error occurred

---

[API](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api.md) - [All operations](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/revisions/d044bf6dc61e?raw)
