v8

OpenAPI 3.1.02026-08-033623795.0 MB
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:

  • dms:read
get/dm_members

Query parameters

afterstring nullable

Returns the elements in the list that come after the specified cursor.

beforestring nullable

Returns the elements in the list that come before the specified cursor.

firstinteger nullable

Returns the first n elements from the list.

Example:42
lastinteger nullable

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