---
title: "Download attachment"
method: GET
path: "/v2/quotes/{quoteId}/attachments/{attachmentId}"
tags: ["Quote attachments"]
---

# Download attachment

`GET /v2/quotes/{quoteId}/attachments/{attachmentId}`

## Request

- Base URL: `https://api.pax8.com`
- URL: `https://api.pax8.com/v2/quotes/{quoteId}/attachments/{attachmentId}`
- Auth: HTTP bearer

Downloads single attachment from a specified quote.

## Path parameters

- `quoteId` string, uuid, required
- `attachmentId` string, uuid, required

## Query parameters

- `download` boolean

## Response `200`

Returns attachment metadata as JSON. When 'download=true' is provided, returns the attachment file as PDF.

- AttachmentResponse
  - `createdBy` CreatedBy, required
    - `fullName` string, required
    - `id` string, uuid, required
    - `role` string, required
  - `createdOn` string, date-time, required
  - `id` string, uuid, required
  - `name` string, required
  - `order` integer, required
  - `replacedOn` string, date-time
  - `type` string, required
  - `url` string, required

## Other responses

- `400`: Bad Request
- `403`: Authorization Error
- `404`: Not Found

---

[API](https://skmtc.dev/pax8/apis/quoting-endpoints.md) - [All operations](https://skmtc.dev/pax8/apis/quoting-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/pax8/apis/quoting-endpoints/revisions/140cc4ccf34e?raw)
