---
title: "Update Channels"
method: PUT
path: "/api/agents/{agent_id}/gateway-config/channels"
tags: ["gateway-config"]
---

# Update Channels

`PUT /api/agents/{agent_id}/gateway-config/channels`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/gateway-config/channels`
- Auth: HTTP bearer

Update gateway channels. Telegram can be saved while the agent is sleeping.

## Path parameters

- `agent_id` string, required

## Request body

- ChannelConfig
  - `channels` object, required
  - `auto_start` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
