---
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

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

---

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