---
title: "Parse Custom File with Compression"
method: POST
path: "/flight-auths/parseCustomPlan"
tags: ["flight-authorization"]
---

# Parse Custom File with Compression

`POST /flight-auths/parseCustomPlan`

## Request

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

Creates custom volumes based on provided parameters, returns compressed response. Supports different CUSTOM processing types.

## Request body `multipart/form-data`

- object
  - `importingFile` string, binary, required: Custom JSON file with volume parameters (e.g., radius, altitude, coordinates)
  - `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

## Response `200`

Custom Flight Plan Created Successfully - Response contains gzip-compressed data.

## Other responses

- `400`: Error in creating custom flight plan
- `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)
