latestOpenAPI 3.1.02026-08-183894205.8 MB

f67a043e3190

Dm members

List dm members

Returns a paginated list of members in a specific DM channel, sorted by the date they were added.

Required permissions (one of):

  • dms:read
  • support_chat:read
get/dm_members

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
channel_idstring required

The unique identifier of the DM channel to list members for.

Response

A successful response

Example response

{
  "data": [
    {
      "last_viewed_at": "123.45"
    }
  ]
}