Dm channels
List dm channels
Changed onLists the authenticated user's DM channels, most recently active first.
Required permissions:
- dms:read
get/dm_channels
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/dm_channels
- Auth: HTTP bearer
Query parameters
afterstring
Returns the elements in the list that come after the specified cursor.
beforestring
Returns the elements in the list that come before the specified cursor.
firstinteger
Returns the first n elements from the list.
Example:42
lastinteger
Returns the last n elements from the list.
Example:42
account_idstring
The unique identifier of a company to filter DM channels by. Only returns channels scoped to this company.
Example:biz_xxxxxxxxxxxxxx
Response
A successful response
Example response
{
"data": [
{
"created_at": "123.45",
"last_message_at": "2023-12-01T05:00:00.401Z",
"name": "Project Alpha Team"
}
]
}Changes
- warning
deleted the
queryrequest parametercompany_id - info
added the new optional
queryrequest parameteraccount_id
- warning