---
title: "Get channel messages (deprecated)"
method: GET
path: "/api/messaging/central-channels/{channelId}/messages"
tags: ["messaging"]
deprecated: true
---

# Get channel messages (deprecated)

`GET /api/messaging/central-channels/{channelId}/messages`

## Request

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

> **Deprecated.**

Get messages for a channel. Use GET /channels/{channelId}/messages instead.

## Path parameters

- `channelId` string, uuid, required

## Query parameters

- `limit` integer
- `before` string, uuid

## Response `200`

Messages retrieved successfully

- object
  - `success` boolean
  - `data` Message[]
    - `id` string, uuid: Unique identifier for the message
    - `text` string: Message text content
    - `userId` string, uuid: ID of the user who sent the message
    - `agentId` string, uuid: ID of the agent (if sent by agent)
    - `roomId` string, uuid: ID of the room the message belongs to
    - `createdAt` integer: Unix timestamp when the message was created
    - `metadata` object: Additional message metadata

## Other responses

- `404`: Channel not found

## Changes

- **2026-11-03** `d606a12682bb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elizaos/apis/eliza-os-api/changes/api/messaging/central-channels/:channelId/messages/get.md)

---

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