---
title: "Add agent to channel (deprecated)"
method: POST
path: "/api/messaging/central-channels/{channelId}/agents"
tags: ["messaging"]
deprecated: true
---

# Add agent to channel (deprecated)

`POST /api/messaging/central-channels/{channelId}/agents`

## Request

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

> **Deprecated.**

Add an agent to a specific channel. Use POST /channels/{channelId}/agents instead.

## Path parameters

- `channelId` string, uuid, required

## Request body

- object
  - `agentId` string, uuid, required: ID of the agent to add

## Response `200`

Agent added successfully

- object
  - `success` boolean
  - `message` string

## Other responses

- `400`: Invalid request
- `404`: Channel or agent not found
- `500`: Error adding agent to channel

## 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/agents/post.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)
