---
title: "Create a new notification channel"
method: POST
path: "/notifications/channels"
tags: ["Notifications"]
---

# Create a new notification channel

`POST /notifications/channels`

Create a new notification channel

## Request body

- NotificationChannel
  - `_id` string — MongoDB ObjectId represented as a hexadecimal string
  - `name` string — Name of the notification channel
  - `type` 'email' | 'slack' | 'dingtalk' | 'wechat_work' | 'telegram' — Type of notification channel
  - `config` object — Configuration for the channel
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `created_by` string — MongoDB ObjectId represented as a hexadecimal string
  - `updated_by` string — MongoDB ObjectId represented as a hexadecimal string

## Response `200`

Notification channel created successfully

- Success
  - `code` integer
  - `message` string
  - `data` object

## Changes

- **2025-03-02** `526e5bdf6dee` — 1 breaking, 20 warning, 15 info
  - request body became required
  - removed the request property `data`
  - removed the optional property `data/_id` from the response with the `200` status
  - removed the optional property `data/created_at` from the response with the `200` status
  - …32 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/notifications/channels/post.md)

---

[API](https://skmtc.dev/crawlab-team/apis/crawlab-api.md) · [All operations](https://skmtc.dev/crawlab-team/apis/crawlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crawlab-team/crawlab-api/revisions/526e5bdf6dee/schema)
