---
title: "Create Route Restriction"
method: POST
path: "/v1/route-restrictions"
tags: ["Route Restrictions"]
---

# Create Route Restriction

`POST /v1/route-restrictions`

## Request

- Base URL: `https://api.sandbox.usenash.com`
- URL: `https://api.sandbox.usenash.com/v1/route-restrictions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/usenash/apis/nash-api/docs/v1/route-restrictions/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new route restriction with one or more avoid polygons.

## Request body

- RouteRestrictionCreate
  - `name` string, required
  - `description` string, nullable
  - `polygons` array[], required
    - array[]
      - unknown[]
        - unknown
  - `restriction_metadata` object, nullable

## Response `200`

OK

- RouteRestrictionRead
  - `id` string, required
  - `organization_id` string, required
  - `name` string, required
  - `description` string, nullable
  - `coverage_area_id` string, required
  - `polygons` array[], required
    - array[]
      - unknown[]
        - unknown
  - `restriction_metadata` object, nullable
  - `optimization_strategy_ids` string[]

## Other responses

- `422`: Unprocessable Content

## Changes

- **2026-11-03** `e3713837c5c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usenash/apis/nash-api/changes/v1/route-restrictions/post.md)

---

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