---
title: "Parse + validate an import file"
method: POST
path: "/api/admin/library/polygons/import/preview"
tags: ["polygon-library"]
---

# Parse + validate an import file

`POST /api/admin/library/polygons/import/preview`

## Request

- Base URL: `https://grandline.luzomi.com`
- URL: `https://grandline.luzomi.com/api/admin/library/polygons/import/preview`
- Auth: none declared

## Query parameters

- `format` 'geojson' | 'wkt' | 'csv', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/luzomi/apis/grandline-api.md) · [All operations](https://skmtc.dev/luzomi/apis/grandline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/luzomi/apis/grandline-api/revisions/4ce06aea012b?raw)
