---
title: "Create Draft From File"
method: POST
path: "/v1/product/designs/drafts/from-file"
tags: ["tower builder"]
---

# Create Draft From File

`POST /v1/product/designs/drafts/from-file`

## 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/designs/drafts/from-file`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

## Request body

- CreateStructureFromFileInput
  - `name` string
  - `content` string
  - `fileType` 'MS_TOWER_ARC_EXPORT' | 'DLUBAL_PYTHON_SCRIPT' | 'ERI_TNX', required
  - `structureType` 'tower' | 'guyed_mast' | 'monopole' | 'rooftop' | 'hybrid' | 'mount' | 'unknown', required
  - `tags` string[], nullable
  - `sectionHeights` number[], nullable

## Response `200`

Successful Response

- FileToDraftView
  - `familyUuid` string, required
  - `draftUuid` 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)
