---
title: "POST Location"
method: POST
path: "/locations"
---

# POST Location

`POST /locations`

## Request

- Base URL: `https://www.humanity.com/api/v2`
- URL: `https://www.humanity.com/api/v2/locations`
- Auth: API key in query parameter `access_token`

/locations
Permission level: 5

## Request body `application/x-www-form-urlencoded`

- object
  - `name` string, required
  - `type` integer, required: enum (1, 2) -> 1: Location; 2: Remote Site
  - `country` string
  - `address` string
  - `lat` string
  - `lon` string
  - `timezone_id` integer
  - `store` integer
  - `copy_location_id` integer: Copy positions from another location.

## Response `200`

200

- object
  - `status` integer
  - `data` object
    - `id` integer
    - `name` string
    - `country` string
    - `address` string
    - `lat` string
    - `lon` string
    - `store` integer
    - `type` integer
    - `notes` string
    - `timezone_id` unknown
    - `map` string
    - `directions` string
  - `token` string

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `ffb87b44c733`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/humanity-com/apis/humanity/changes/locations/post.md)

---

[API](https://skmtc.dev/humanity-com/apis/humanity.md) - [All operations](https://skmtc.dev/humanity-com/apis/humanity/llms.txt) - [OpenAPI document](https://skmtc.dev/humanity-com/apis/humanity/revisions/ffb87b44c733?raw)
