---
title: "Parse Flight Plan File with Compression"
method: POST
path: "/flight-auths/parseQgcPlanFile"
tags: ["flight-authorization"]
---

# Parse Flight Plan File with Compression

`POST /flight-auths/parseQgcPlanFile`

## Request

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

Parses QGC plan files and returns compressed response.

## Request body `multipart/form-data`

- object
  - `importingFile` string, binary, required: QGC plan file to parse
  - `flightStartTime` string, date-time, required: Flight start time in ISO-8601 format
  - `flightEndTime` string, date-time, required: Flight end time in ISO-8601 format
  - `processingType` string, required: Processing type (CIRCLE, SEGMENTS)

## Response `200`

Flight Plan File Parsed Successfully - Response contains gzip-compressed data.

## Other responses

- `400`: Error in parsing Flight Plan File
- `401`: Authentication required
- `403`: Authorization denied
- `422`: Validation error - Invalid parameters or compression failed
- `451`: Terrain data unavailable - Coordinates outside HREF coverage area

---

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