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

# Send DM Message

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

## 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
    - `avatar` string, nullable
    - `category` 'BOT' | 'UNVERIFIED'
    - `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
  - `id` string, uuid, required
  - `timestamp` string, date-time, required

---

[API](https://skmtc.net/mikotoio/apis/mikoto-superego.md) · [All operations](https://skmtc.net/mikotoio/apis/mikoto-superego/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mikotoio/mikoto-superego/revisions/2884da9c4ee0/schema)
