---
title: "Upload attachments to library"
method: POST
path: "/v2/quote-attachments"
tags: ["Library attachments"]
---

# Upload attachments to library

`POST /v2/quote-attachments`

## Request

- Base URL: `https://api.pax8.com`
- URL: `https://api.pax8.com/v2/quote-attachments`
- Auth: HTTP bearer

Uploads attachments to the library.

## Request body `multipart/form-data`

- object
  - `attachments` string[], required

## Response `201`

Created

- 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

---

[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)
