---
title: "Create Boundaries Batch"
method: POST
path: "/admin/boundaries/batch"
tags: ["admin"]
---

# Create Boundaries Batch

`POST /admin/boundaries/batch`

Create multiple neighborhood boundaries at once.

Each boundary is processed independently - failures don't affect other boundaries.

## Request body

- BoundaryBatchCreateRequest — Request to create multiple boundaries at once.
  - `boundaries` BoundaryCreateRequest[], required
    - `country` string, required
    - `state` string, nullable
    - `city` string, required
    - `neighborhood` string, required
    - `boundary_geojson` object, required
    - `source` string, nullable

## Response `200`

Successful Response

- BoundaryBatchCreateResponse — Response from batch boundary creation.
  - `created` BoundaryDetail[], required
    - `id` integer, required
    - `country` string, required
    - `state` string, nullable, required
    - `city` string, required
    - `neighborhood` string, required
    - `lookup_key` string, required
    - `source` string, nullable, required
    - `verified_at` string, date-time, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `boundary_geojson` object, required
    - `boundary_encoded` string, required
  - `errors` object[], required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
