---
title: "Update chat channel"
method: PATCH
path: "/chat_channels/{id}"
tags: ["Chat channels"]
---

# Update chat channel

`PATCH /chat_channels/{id}`

Update moderation settings for a chat channel, such as who can post, banned words, and media restrictions.

Required permissions:
 - `chat:moderate`

## Path parameters

- `id` string, required

## Request body

- object — Parameters for UpdateChatChannel
  - `ban_media` boolean, nullable — Whether media uploads such as images and videos are banned in this chat channel.
  - `ban_urls` boolean, nullable — Whether URLs and links are banned from being posted in this chat channel.
  - `banned_words` string[], nullable — A list of words that are automatically blocked from messages in this chat channel. For example, ['spam', 'scam'].
  - `user_posts_cooldown_seconds` integer, nullable — The minimum number of seconds a user must wait between sending messages in this chat channel.
  - `who_can_post` 'everyone' | 'admins' — Who can post on a chat feed
  - `who_can_react` 'everyone' | 'no_one' — Who can react on a chat feed

## Response `200`

A successful response

- ChatChannel — A real-time chat feed attached to an experience, with configurable moderation and posting permissions.
  - `ban_media` boolean, required — Whether media uploads such as images and videos are blocked in this chat.
  - `ban_urls` boolean, required — Whether URL links are blocked from being posted in this chat.
  - `banned_words` string[], required — A list of words that are automatically filtered from messages in this chat.
  - `experience` object, required — The experience this chat feed is attached to.
    - `id` string, required — The unique identifier for the experience.
    - `name` string, required — The display name of this experience shown to users in the product navigation. Maximum 255 characters.
  - `id` string, required — The unique identifier for the entity
  - `user_posts_cooldown_seconds` integer, nullable, required — The minimum number of seconds a user must wait between consecutive messages. Null if no cooldown is enforced.
  - `who_can_post` 'everyone' | 'admins', required — Who can post on a chat feed
  - `who_can_react` 'everyone' | 'no_one', required — Who can react on a chat feed

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Verification required
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/db0883548bc5/schema)
