---
title: "Get all flight authorizations with compression within user organisation by geographic window"
method: POST
path: "/flight-auths/geo-window"
tags: ["flight-authorization"]
---

# Get all flight authorizations with compression within user organisation by geographic window

`POST /flight-auths/geo-window`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/flight-auths/geo-window`
- Auth: API key in header `x-auth-token`

Fetches flight authorizations with plans and MQTT subscription plan for realtime map updates within a geographic bounding box. Response is gzip-compressed JSON.

## Request body

- GeoWindowDTO: Geographic bounding box coordinates
  - `minLat` number, double, required: Minimum latitude of the bounding box
  - `maxLat` number, double, required: Maximum latitude of the bounding box
  - `minLng` number, double, required: Minimum longitude of the bounding box (may be outside ±180° from map libs; normalized server-side)
  - `maxLng` number, double, required: Maximum longitude of the bounding box (may be outside ±180° from map libs; normalized server-side)

## Response `200`

Successful retrieval - gzip-compressed FlightAuthGeoWindowPayloadDTO (flights + realtime.mqttTopics).

## Other responses

- `400`: Invalid bounding box coordinates
- `401`: Authentication required
- `403`: Authorization denied
- `422`: Validation error - Compression or serialization failed

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
