---
title: "List dm members"
method: GET
path: "/dm_members"
tags: ["Dm members"]
---

# List dm members

`GET /dm_members`

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

Required permissions:
 - `dms:read`

## Query parameters

- `after` string, nullable — Returns the elements in the list that come after the specified cursor.
- `before` string, nullable — Returns the elements in the list that come before the specified cursor.
- `first` integer, nullable — Returns the first _n_ elements from the list.
- `last` integer, nullable — Returns the last _n_ elements from the list.
- `channel_id` string, required — The unique identifier of the DM channel to list members for.

## Response `200`

A successful response

- object — The connection type for DmsFeedMember.
  - `data` DmMemberListItem[], required — A list of nodes.
    - `channel_id` string, required — The unique identifier of the messaging channel this membership belongs to.
    - `id` string, required — The unique identifier for the entity
    - `last_viewed_at` string, nullable, required — The timestamp when this member last viewed the channel, as a Unix timestamp in milliseconds. Null if the member has never viewed the channel.
    - `status` 'requested' | 'accepted' | 'hidden' | 'closed' | 'archived', required — The statuses of a DMs feed member
    - `user_id` string, required — The unique identifier of the user who holds this channel membership.
  - `page_info` PageInfo, required — Information about pagination in a connection.
    - `end_cursor` string, nullable, required — When paginating forwards, the cursor to continue.
    - `has_next_page` boolean, required — When paginating forwards, are there more items?
    - `has_previous_page` boolean, required — When paginating backwards, are there more items?
    - `start_cursor` string, nullable, required — When paginating backwards, the cursor to continue.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Verification required
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/db0883548bc5/schema)
