---
title: "Create central channel"
method: POST
path: "/api/messaging/central-channels"
tags: ["messaging"]
deprecated: true
---

# Create central channel

`POST /api/messaging/central-channels`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/messaging/central-channels`
- Auth: none declared

> **Deprecated.**

Create a channel in the central database

## Request body

- object
  - `name` string, required
  - `serverId` string, uuid, required
  - `description` string
  - `type` 'text' | 'voice' | 'dm' | 'group'

## Response `201`

Central channel created successfully

- object
  - `success` boolean
  - `data` object
    - `channel` Channel
      - `id` string, uuid: Unique identifier for the channel
      - `name` string: Name of the channel
      - `serverId` string, uuid: ID of the server this channel belongs to
      - `type` 'text' | 'voice' | 'dm' | 'group': Type of channel
      - `description` string: Channel description
      - `metadata` object: Additional channel metadata

## Other responses

- `400`: Invalid request
- `500`: Error creating channel

---

[API](https://skmtc.dev/elizaos/apis/eliza-os-api.md) - [All operations](https://skmtc.dev/elizaos/apis/eliza-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elizaos/apis/eliza-os-api/revisions/d606a12682bb?raw)
