---
title: "Download all attachments from an opportunity"
method: GET
path: "/opps/v1/api/attachments"
tags: ["attachments"]
---

# Download all attachments from an opportunity

`GET /opps/v1/api/attachments`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/opps/v1/api/attachments`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization/docs/opps/v1/api/attachments/get.ts> (a function with typed inputs; its response is checked against the schema)

Download attachments for an opportunity.

## Query parameters

- `api_key` string, required
- `excludeDeleted` boolean
- `opportunityId` string, required
- `resourceId` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `501`: Not Implemented

---

[API](https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization.md) - [All operations](https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization/llms.txt) - [OpenAPI document](https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization/revisions/367b50043e66?raw)
