---
title: "Get central server channels"
method: GET
path: "/api/messaging/central-servers/{serverId}/channels"
tags: ["messaging"]
deprecated: true
---

# Get central server channels

`GET /api/messaging/central-servers/{serverId}/channels`

## Request

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

> **Deprecated.**

Get all channels for a server from central database

## Path parameters

- `serverId` string, uuid, required

## Response `200`

Channels retrieved successfully

- object
  - `success` boolean
  - `data` 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

- `404`: Server not found

---

[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)
