---
title: "POST /notification-routes"
method: POST
path: "/notification-routes"
tags: ["Notification Routes"]
---

# POST /notification-routes

`POST /notification-routes`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/notification-routes`
- Auth: HTTP bearer

## Request body

- CreateNotificationRouteRequest
  - `enabled` boolean, nullable
  - `max_severity` string, required
  - `min_severity` string, required
  - `name` string, required
  - `provider_ids` integer[], required

## Response `201`

Route created

- NotificationRoute
  - `created_at` string, date-time, required
  - `enabled` boolean, required
  - `id` integer, required
  - `max_severity` string, required
  - `min_severity` string, required
  - `name` string, required
  - `provider_ids` integer[], required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid route
- `409`: Route name already exists
- `500`: Internal server error

## Changes

- **2026-11-26** `e1864d950604`: 2 breaking
  - the `created_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `201`
  - the `updated_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `201`
- **2026-09-07** `11b114eb9283`: 1 info
  - endpoint added
- **2026-09-07** `f7404eb7ac98`: 1 breaking
  - api path removed without deprecation
- **2026-08-27** `964de88ec3c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/notification-routes/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
