---
title: "Send DM Message"
method: POST
path: "/dm/{channelId}/messages/"
tags: ["DM"]
---

# Send DM Message

`POST /dm/{channelId}/messages/`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- MessageSendPayload
  - `attachments` MessageAttachmentInput[]
    - `contentType` string, required
    - `filename` string, required
    - `size` integer, required
    - `url` string, required
  - `content` string, required

## Response `200`

- MessageExt
  - `attachments` MessageAttachment[], required
    - `contentType` string, required
    - `filename` string, required
    - `id` string, uuid, required
    - `messageId` string, uuid, required
    - `order` integer, required
    - `size` integer, required
    - `url` string, required
  - `author` User, nullable
    - `avatar` string, nullable
    - `category` 'BOT' | 'UNVERIFIED', nullable
    - `description` string, nullable
    - `id` string, uuid, required
    - `name` string, required
  - `authorId` string, uuid, nullable
  - `channelId` string, uuid, required
  - `content` string, required
  - `editedTimestamp` string, date-time, nullable
  - `id` string, uuid, required
  - `timestamp` string, date-time, required

## Changes

- **2026-04-06** `0a10cd1321bf`: 1 info
  - endpoint added
- **2025-09-22** `2792e551a954`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/mikotoio/apis/mikoto-superego/changes/dm/:channelId/messages/post.md)

---

[API](https://skmtc.dev/mikotoio/apis/mikoto-superego.md) - [All operations](https://skmtc.dev/mikotoio/apis/mikoto-superego/llms.txt) - [OpenAPI document](https://skmtc.dev/mikotoio/apis/mikoto-superego/revisions/55ae42443991?raw)
