---
title: "Import Farm Paddocks"
method: POST
path: "/api/v1/farms/{farm_id}/paddocks/import"
tags: ["farms"]
---

# Import Farm Paddocks

`POST /api/v1/farms/{farm_id}/paddocks/import`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/v1/farms/{farm_id}/paddocks/import`
- Auth: HTTP bearer

## Path parameters

- `farm_id` string, required

## Request body

- PaddockImport: Paste a file: a GeoJSON FeatureCollection/Feature/Geometry, or a KML document of Placemarks. Every polygon becomes a paddock; names come from the feature's own name property where it has one.
  - `format` 'geojson' | 'kml', required
  - `content` string, required

## Response `201`

Successful Response

- PaddockImportResponse
  - `imported` PaddockResponse[], required
    - `paddock_id` string, required
    - `farm_id` string, required
    - `name` string, required
    - `geometry` object, required
    - `area_ha` number, nullable, required
    - `source` string, required
    - `screened_geofence_id` string, uuid, nullable
    - `synced_at` string, date-time, nullable, required
    - `archived_at` string, date-time, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `skipped` integer, required

## Other responses

- `422`: Validation Error

---

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