---
title: "Create dm member"
method: POST
path: "/dm_members"
tags: ["Dm members"]
---

# Create dm member

`POST /dm_members`

Add a new user to an existing DM channel. Only an admin of the channel can add members.

Required permissions:
 - `dms:channel:manage`

## Request body

- object — Parameters for CreateDmMember
  - `channel_id` string, required — The unique identifier of the DM channel to add the new member to.
  - `user_id` string, required — The unique identifier of the user to add to the DM channel. For example, 'user_xxxxx'.

## Response `200`

A successful response

- DmMember — A user's membership record in a messaging channel, including notification preferences and read state.
  - `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.
  - `notification_preference` 'all' | 'mentions' | 'none', required — The notification preferences for a DMs feed member
  - `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.

## 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)
