---
title: "Create a new notification provider"
method: POST
path: "/notification-providers"
tags: ["Notification Providers"]
---

# Create a new notification provider

`POST /notification-providers`

## Request

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

## Request body

- CreateProviderRequest
  - `config` unknown, required
  - `enabled` boolean, nullable
  - `name` string, required
  - `provider_type` string, required

## Response `201`

Successfully created provider

- NotificationProviderResponse
  - `config` unknown, required
  - `created_at` string, date-time, required
  - `enabled` boolean, required
  - `id` integer, required
  - `name` string, required
  - `provider_type` string, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid request
- `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`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/notification-providers/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)
