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

# Update Channel

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

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/agents/{agent_id}/channels/{channel_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

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.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
