---
title: "Create"
method: POST
path: "/locations"
tags: ["Locations"]
---

# Create

`POST /locations`

Store a location defined in GeoJSON format. You can reference this location in other services, such as `Pipelines API`, to create multiple pipelines for the same location (Area of Interest)

## Request body

- object
  - `type` 'FeatureCollection'
  - `features` object[]
    - `type` 'Feature'
    - `name` string
    - `properties` object
    - `geometry` object
      - `type` 'Polygon'
      - `coordinates` array[]
        - array[]
          - number[]

## Response `201`

Success - location created

- object
  - `data` object
    - `id` string
    - `name` string
  - `links` object[]
    - `description` string
    - `uri` string

## Other responses

- `400` — Bad request
- `4XX` — Client-side error

---

[API](https://skmtc.net/skywatch/apis/api-specification.md) · [All operations](https://skmtc.net/skywatch/apis/api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skywatch/api-specification/revisions/51f7c5a8d15d/schema)
