Channels

Update a channel. Community icon changes update the experience logo and require experience:update. Group private channel icon changes set the channel's own icon and require a group member. One-to-one private and support channels reject icon changes. Support rename and notification changes require support_chat:create. Private and support writes require a user identity with channel management permission. Account API keys can update community channels only.

patch/channels/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

id, string required

Public resource ID.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Request body

object required
icon, object nullable

Channel icon as a file reference, for community channels and group private channels. Image files only. Group icons can be up to 5 MB. For community channels it sets the experience logo, and null restores the app icon. For group private channels it sets the channel's own icon, and null clears it. Omit to keep the current icon.

moderation, object

Moderation settings, accepted only for community channels. Requires chat moderation permission. Omitted settings are preserved.

name, string nullable

Replacement display name for any channel kind. Send null to clear a private or support channel name. Community channels require a name and also rename the experience.

notifications_enabled, boolean

Whether app notifications are on for any channel kind. Webhooks fire either way. Omit to preserve the current setting.

Example request

{
  "moderation": {
    "who_can_post": "everyone",
    "who_can_react": "everyone"
  },
  "name": "Renamed"
}

Response

operation completed

Channel required
account, ChannelAccount nullable required
account_id, string nullable required
created_at, string required

Creation time as an ISO 8601 timestamp.

deleted_at, string nullable required

When the channel was deleted or removed from your channel list, as an ISO 8601 timestamp. Null for a live channel.

experience_id, string nullable required
icon, File nullable required
id, string required

Existing public channel ID, preserved across REST and chat clients.

kind, 'private' | 'community' | 'support' required
last_message_at, string nullable required

When the channel last recorded message activity, as an ISO 8601 timestamp. Null when no message activity is recorded.

last_message_id, string nullable required
membership, ChannelMember nullable required
moderation, ChannelModeration nullable required
name, string nullable required
notifications_enabled, boolean required

Whether app notifications are on. Webhooks fire either way.

support, ChannelSupportState nullable required
updated_at, string required

Last channel change as an ISO 8601 timestamp.

Example response

{
  "account": {
    "id": "biz_xxxxxxxxxxxxxx",
    "logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "title": "Shine Time Auto Detailing"
  },
  "account_id": "biz_xxxxxxxxxxxxxx",
  "created_at": "2026-01-01T12:00:00.000Z",
  "icon": {
    "content_type": "application/pdf",
    "created_at": "2026-01-01T12:00:00.000Z",
    "filename": "evidence.pdf",
    "id": "file_xxxxxxxxxxxxxx",
    "multipart_chunk_size": 5242880,
    "multipart_upload_id": "upload-id",
    "multipart_upload_urls": [
      {
        "part_number": 1,
        "url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf"
      }
    ],
    "object": "file",
    "size": 9670,
    "upload_headers": {},
    "upload_status": "pending",
    "upload_url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf",
    "url": "https://whop-assets-example.s3.amazonaws.com/uploads/audio/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "visibility": "private"
  },
  "id": "feed_xxxxxxxxxxxxxxxxxxxxxx",
  "kind": "private",
  "last_message_at": "2026-01-01T12:00:00.000Z",
  "last_message_id": "post_xxxxxxxxxxxxxxxxxxxxxx",
  "membership": {
    "channel_id": "feed_xxxxxxxxxxxxxxxxxxxxxx",
    "created_at": "2026-01-01T12:00:00.000Z",
    "id": "memb_1_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "inbox_status": "accepted",
    "last_viewed_at": "2026-01-01T12:00:00.000Z",
    "notification_preference": "all",
    "updated_at": "2026-01-01T12:00:00.000Z",
    "user": {
      "badges": [
        {
          "type": "verified_partner"
        }
      ],
      "id": "user_xxxxxxxxxxxxxx",
      "name": "Dana Whitfield",
      "profile_picture": {
        "url": "https://ui-avatars.com/api/"
      },
      "username": "danawhitfield"
    },
    "user_id": "user_xxxxxxxxxxxxxx"
  },
  "moderation": {
    "who_can_post": "everyone",
    "who_can_react": "everyone"
  },
  "name": "Renamed",
  "notifications_enabled": true,
  "support": {
    "customer_user_id": "user_xxxxxxxxxxxxxx",
    "last_message_by": "customer",
    "resolved_at": "2026-01-01T12:00:00.000Z",
    "status": "resolved"
  },
  "updated_at": "2026-01-01T12:00:00.000Z"
}

Changes

    • info

      the security scope dms:channel:manage was added to the endpoint's security scheme bearerAuth

    • info

      the security scope support_chat:create was removed from the endpoint's security scheme bearerAuth

    • info

      the security scope dms:channel:manage was added to the endpoint's security scheme bearerAuth

    1 more change in this revision