Decline DM Request
Changed onDecline a DM request by hiding the channel from your inbox.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP 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
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
added the required property
user/badgesto the response with the status
- info
- info
added the required property
deleted_atto the response with the status
- info