---
title: "Import Sites"
method: POST
path: "/v1/import/sites"
tags: ["import"]
---

# Import Sites

`POST /v1/import/sites`

## 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/import/sites`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

Import sites from a validated preview.

## Request body

- SiteImportExecuteInput
  - `rows` SiteImportRowInput[], required
    - `siteName` string, required
    - `latitude` number, nullable
    - `longitude` number, nullable
    - `family` string, nullable
    - `sections` string[], nullable
    - `tags` string[], nullable
    - `towerOrientation` number, nullable
    - `mode` 'create' | 'update'
    - `existingSiteUuid` string, nullable
  - `tags` string[], required

## Response `200`

Successful Response

- object

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