---
title: "Update Channel"
method: PUT
path: "/agents/{agent_id}/channels/{channel_id}"
tags: ["agents"]
---

# Update Channel

`PUT /agents/{agent_id}/channels/{channel_id}`

Update a channel.

## Path parameters

- `channel_id` string, uuid, required
- `agent_id` string, uuid, required

## Request body

- AgentChannelUpdate — Update a channel.
  - `channel_config` object, nullable
  - `channel_secrets` object, nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- AgentChannelResponse — Channel response.
  - `channel_type` string, required
  - `channel_config` object
  - `is_active` boolean
  - `id` string, uuid, required
  - `agent_id` string, uuid, required
  - `webhook_url` string, nullable
  - `is_verified` boolean, required
  - `verification_error` string, nullable
  - `last_message_at` string, date-time, nullable
  - `message_count` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
