---
title: "Create Distance Targeting Geometry"
method: POST
path: "/v1/flight/{FlightID}/distance"
---

# Create Distance Targeting Geometry

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

## Request

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

## Path parameters

- `FlightID` integer, required

## Request body

- object
  - `Distance` number, float: The radius of the Distance geometry in kilometers. Min: 0.01, Max: 500. Optional on networks with user-specified radius features enabled; omit for user-specified radius.
  - `Latitude` number, float: The latitude of the Distance point. Saved up to 7 decimal places. Cannot be used with `StreetAddress`.
  - `Longitude` number, float: The longitude of the Distance point. Saved up to 7 decimal places. Cannot be used with `StreetAddress`.
  - `StreetAddress` string: The street address of the Distance point. This will be resolved to latitude and longitude. Cannot be used with `Latitude` and `Longitude` params.

## Response `200`

200

- object
  - `Distance` integer
  - `StreetAddress` string
  - `FlightId` integer
  - `Latitude` number
  - `Longitude` number
  - `Id` integer

## Other responses

- `400`: 400
- `503`: 503

---

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