Mark Channel Read
Changed onMark a channel as read and optionally record viewed messages.
Request
- Base URLhttps://api.whop.com/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
Public resource ID.
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Required for DM-backed kinds; not accepted for experience.
Messages actually seen in this channel. Optional for all channel kinds; up to 100 IDs. Omitted or empty records no message views. Experience view counts update asynchronously.
Example request
{
"last_viewed_at": "2026-01-01T12:00:00.000Z",
"viewed_message_ids": [
"post_xxxxxxxxxxxxxxxxxxxxxx"
]
}Response
operation completed
When the stored channel membership was created, as an ISO 8601 timestamp. Null for users whose access does not have a stored membership.
When the membership was removed, as an ISO 8601 timestamp. Null for current members and access-derived users.
Stored membership ID, or null for access-derived users.
Your inbox state for a private channel. null for other users and other channel kinds.
Authorized participant read position. Community positions are visible only to the user themselves.
Your unread state for the channel. null for other users.
When the stored channel membership last changed, as an ISO 8601 timestamp. Null for users whose access does not have a stored membership.
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:readwas added to the endpoint's security schemebearerAuth - info
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
dms:readwas added to the endpoint's security schemebearerAuth
1 more change in this revision
- info