Channels

Mark Channel Unread

Changed on

Mark a channel as unread for the authenticated user. Experience channels are unchanged.

post/channels/{id}/mark_unread

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • 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.

Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383

A unique key that makes this request safe to retry. See Idempotent requests.

Request body

object required

Response

operation completed

ChannelMember required
channel_id, string required
created_at, string nullable required

When the stored channel membership was created, as an ISO 8601 timestamp. Null for users whose access does not have a stored membership.

deleted_at, string nullable required

When the membership was removed, as an ISO 8601 timestamp. Null for current members and access-derived users.

id, string nullable required

Stored membership ID, or null for access-derived users.

inbox_status, 'requested' | 'accepted' | 'hidden' | 'null' nullable required

Your inbox state for a private channel. null for other users and other channel kinds.

last_viewed_at, string nullable required

Authorized participant read position. Community positions are visible only to the user themselves.

notification_preference, 'all' | 'mentions' | 'none' | 'null' nullable required
pinned_position, integer nullable required
unread, boolean nullable required

Your unread state for the channel. null for other users.

updated_at, string nullable required

When the stored channel membership last changed, as an ISO 8601 timestamp. Null for users whose access does not have a stored membership.

user, UserSummary required
user_id, string required

User ID

Example response

{
  "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"
}

Changes

    • info

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

    • info

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

    • info

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

    1 more change in this revision