---
title: "Upload preference attachments"
method: POST
path: "/v2/quote-preferences/attachments"
tags: ["Preference attachments"]
---

# Upload preference attachments

`POST /v2/quote-preferences/attachments`

Upload preference attachments based on library attachments.

## Request body

- AddPreferenceAttachmentsPayload
  - `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
- `404` — Not Found

---

[API](https://skmtc.dev/pax8/apis/authentication.md) · [All operations](https://skmtc.dev/pax8/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pax8/authentication/revisions/4026bf405528/schema)
