---
title: "Create dm channel"
method: POST
path: "/dm_channels"
tags: ["Dm channels"]
---

# Create dm channel

`POST /dm_channels`

Create a new DM channel between two or more users, optionally scoped to a specific company. Returns the existing channel if one already exists.

## Request body

- object — Parameters for CreateDmChannelV2
  - `company_id` string, nullable — The unique identifier of the company to scope this DM channel to. When set, the channel is visible only within that company context.
  - `custom_name` string, nullable — A custom display name for the DM channel. For example, 'Project Discussion'.
  - `notifications_enabled` boolean, nullable — Whether Whop app notifications are enabled for this direct message channel. Webhooks still fire.
  - `with_user_ids` string[], required — The list of user identifiers to include in the DM channel. Each entry can be an email, username, or user ID (e.g. 'user_xxxxx').

## Response `200`

A successful response

- DmChannel — A messaging channel that can be a one-on-one DM, group chat, company support conversation, or platform-level direct message.
  - `created_at` string, required — The time the entity was created (in milliseconds since Unix epoch)
  - `id` string, required — The unique identifier for the entity
  - `last_message_at` string, date-time, nullable, required — The timestamp when the most recent message was sent in this channel. Null if no messages have been sent.
  - `name` string, nullable, required — A custom display name assigned to this channel by the user. Null if no custom name has been set.

## 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/866821546d67/schema)
