---
title: "Create Export"
method: POST
path: "/api/exports"
tags: ["Exports"]
---

# Create Export

`POST /api/exports`

## Request

- Base URL: `https://data.getplace.io` (the document declares no server; this is the origin it was published from)
- URL: `https://data.getplace.io/api/exports`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`

Create a new CSV export task. Admin only.

## Request body

- CreateExportRequest
  - `filters` ExportFilters, required
    - `country_codes` string[], nullable
    - `city_ids` integer[], nullable
    - `chain_ids` integer[], nullable
    - `date_from` string, nullable
    - `date_to` string, nullable
    - `sentiment` string, nullable
    - `platform` string, nullable
    - `ratings` integer[], nullable
    - `search` string, nullable
    - `include_empty` boolean, nullable
    - `complaint_category` string, nullable
    - `praise_category` string, nullable
    - `country_names` string[], nullable
    - `city_names` string[], nullable
    - `chain_names` string[], nullable
  - `fields` string[], required

## Response `200`

Successful Response

- ExportResponse
  - `id` string, required
  - `filters` object, required
  - `fields` unknown[], required
    - unknown
  - `status` string, required
  - `progress_current` integer, required
  - `progress_total` integer, required
  - `error_message` string, nullable, required
  - `file_size` integer, nullable, required
  - `row_count` integer, nullable, required
  - `created_at` string, required
  - `started_at` string, nullable, required
  - `completed_at` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getplace/apis/getplace-insights-api.md) - [All operations](https://skmtc.dev/getplace/apis/getplace-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getplace/apis/getplace-insights-api/revisions/0f337387603f?raw)
