---
title: "Add a channel"
method: POST
path: "/v1/channels"
tags: ["Channel"]
---

# Add a channel

`POST /v1/channels`

## Request body

- ChannelRequestPost
  - `name` string
  - `type` object
    - `id` string
  - `botToken` string
  - `chatId` number
  - `commands` boolean
  - `alerts` boolean
  - `info` boolean
  - `warning` boolean
  - `critical` boolean
  - `error` boolean

## Response `200`

OK

- object
  - `status` number
  - `result` string

## Other responses

- `400` — Bad request for Missing required fields.
- `409` — Warning: Register Duplicate.
- `535` — Error: Mongo client not initialised.
- `536` — Error: Could not save data to Mongo.

## Changes

- **2026-07-17** `4400907a393c` — 1 info
  - endpoint added
- **2021-07-09** `7abd9c7d6948` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/simplystaking/apis/panic-api/changes/v1/channels/post.md)

---

[API](https://skmtc.dev/simplystaking/apis/panic-api.md) · [All operations](https://skmtc.dev/simplystaking/apis/panic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/simplystaking/panic-api/revisions/4400907a393c/schema)
