---
title: "Create a Location"
method: POST
path: "/public/v3/Locations"
tags: ["Locations"]
---

# Create a Location

`POST /public/v3/Locations`

Create a location within the specified account.

## Headers

- `x-tive-account-id` integer, required

## Request body

- LocationCreateRequest
  - `name` string, required — The name of the location.
  - `address` AddressRequest, required — The full address of the location.
    - `street` string, required
    - `sublocality` string, nullable
    - `locality` string, required
    - `state` string, required
    - `country` string, required
    - `postalCode` string, required
  - `coordinates` CoordinateRequest, required — Coordinates of the location.
    - `latitude` number, double, required
    - `longitude` number, double, required
  - `radius` RadiusRequest — The radius of the location geofence. Minimum value is 50m, maximum is 400km. Tolerance less than 400m will require GPS and frequent transmit intervals for accurate readings.
    - `radiusValue` number, double, required — The radius of the geofence.
    - `selectedRadiusUnit` string, required — The unit of the geofence radius. Valid options are `Miles`, `Meters`, or `Kilometers`.
  - `nodeType` 'Warehouse' | 'ConsumerPickupPoint' | 'DistributionCenter' | 'RiskZone' | 'Airport' | 'Seaport' | 'ProductionFacility' | 'Terminal' | 'BorderCrossing' | 'ServiceStop'
  - `shareLocation` boolean
  - `includeCollaboratorsWhenSharing` boolean
  - `labels` Label[], nullable
    - `labelId` integer
    - `labelText` string, nullable
  - `alertPresetIds` integer[], nullable
  - `collaborators` LocationCollaboratorRequest[], nullable — A list of users you would like to collaborate with and their access level for any shipment using the specified location.
    - `email` string, required — Email address of the user collaborator.
    - `roleName` string, required — Name of the shipment role you would like to assign to a user. Values can be Viewer, Contributor, or Editor.

## Response `201`

The created location id

- integer

## Other responses

- `400` — Unable to create the location. See response message for details.
- `401` — Unauthorized

---

[API](https://skmtc.net/tive/apis/tive-public-api.md) · [All operations](https://skmtc.net/tive/apis/tive-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tive/tive-public-api/revisions/9a8d869e3cdc/schema)
