---
title: "Upload File"
method: POST
path: "/v1/product/upload"
tags: ["products"]
---

# Upload File

`POST /v1/product/upload`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/product/upload`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint handles the upload of a single Excel file that contains structure family data.

## Request body `multipart/form-data`

- BodyUploadFileV1ProductUploadPost
  - `file` string, binary, required

## Response `200`

Successful Response

- StructureFamilyOnboardingView
  - `productId` string, required
  - `state` 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required
  - `fileName` string, required

## Other responses

- `422`: Validation Error

---

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