---
title: "Upload Packet Message File"
method: POST
path: "/api/v1/packets/{packet_id}/messages/files"
tags: ["v1", "Packets"]
---

# Upload Packet Message File

`POST /api/v1/packets/{packet_id}/messages/files`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/packets/{packet_id}/messages/files`
- Auth: none declared

Upload one attachment, ready to be posted with a message.

Two steps rather than one multipart post, because an attachment survives a
failed send: you pick three files, the message is rejected for length, and
the files are still there to send with the next attempt.

Gated on being able to POST, not merely to read: a shop whose round has
closed keeps its conversation as a record and has nothing to add to it, so
it must not be able to put new bytes behind that record either.

## Path parameters

- `packet_id` integer, required

## Query parameters

- `shop` integer, nullable
- `quote_id` integer, nullable

## Request body `multipart/form-data`

- BodyUploadPacketMessageFileApiV1PacketsPacketIdMessagesFilesPost
  - `file` string, binary, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-18** `02b3f0a3ecbb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/changes/api/v1/packets/:packet_id/messages/files/post.md)

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
