---
title: "Batch Upload Distance Targeting Geometries"
method: POST
path: "/v1/flight/{FlightID}/distance/batch"
---

# Batch Upload Distance Targeting Geometries

`POST /v1/flight/{FlightID}/distance/batch`

## Request

- Base URL: `https://api.kevel.co`
- URL: `https://api.kevel.co/v1/flight/{FlightID}/distance/batch`
- Auth: API key in header `X-Adzerk-ApiKey`

## Path parameters

- `FlightID` integer, required

## Request body

- object
  - `ReplaceExisting` boolean: Whether to replace any existing geometries on a flight. Defaults to false.
  - `Geometries` object[], required: Must contain at least 0 geometry objects. If 1 or more objects are present, `Distance`, `Latitude`, and `Longitude` (float) are all required.
    - `Latitude` number, float, required: Latitude of the geometry
    - `Longitude` number, float, required: Longitude of the geometry
    - `Distance` number, float, required: Distance of the geometry

## Response `200`

200

---

[API](https://skmtc.dev/kevel/apis/management-api-2.md) - [All operations](https://skmtc.dev/kevel/apis/management-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/kevel/apis/management-api-2/revisions/fe6c8716ca08?raw)
