---
title: "create new static route"
method: POST
path: "/staticroutes"
tags: ["create new static route"]
---

# create new static route

`POST /staticroutes`

## Request body

- object
  - `name` string
  - `namespace` string
  - `envoyFleetName` string
  - `envoyFleetNamespace` string
  - `openapi` string

## Response `200`

created static route

- StaticRouteItem
  - `name` string, required
  - `namespace` string, required
  - `envoyFleetName` string
  - `envoyFleetNamespace` string

## Other responses

- `400` — The content of the API is malformed

---

[API](https://skmtc.dev/kubeshop/apis/kusk-gateway-api.md) · [All operations](https://skmtc.dev/kubeshop/apis/kusk-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubeshop/kusk-gateway-api/revisions/f8f51902550d/schema)
