---
title: "sendMessage"
method: POST
path: "/api/social/conversations/{id}/messages"
tags: ["Social"]
---

# sendMessage

`POST /api/social/conversations/{id}/messages`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/social/conversations/{id}/messages`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Successful HTTP response; legacy business endpoints may return success=false in this envelope, while social endpoints use matching 4xx/5xx statuses

- CommonPojoResultDataJsonResultCoreSocialPojoDtoChatMessageDTO
  - `code` integer
  - `data` CoreSocialPojoDtoChatMessageDTO
    - `clientMessageId` string
    - `content` string
    - `conversationId` string
    - `createdAt` string
    - `id` string
    - `image` CoreSocialPojoDtoChatImageDTO
      - `contentType` string
      - `height` integer
      - `size` integer
      - `url` string
      - `width` integer
    - `senderId` string
    - `seq` string
    - `type` string
  - `errorCode` string
  - `message` string
  - `success` boolean

## Other responses

- `400`: Request validation failure; legacy endpoints may still return HTTP 200 with success=false
- `401`: Missing, expired or invalid bearer token
- `403`: Forbidden or privacy restriction
- `429`: Rate limited
- `500`: Server failure; legacy endpoints may still return HTTP 200 with success=false

## Changes

- **2026-10-06** `880521a9d345`: 2 breaking, 10 info
  - added the new path request parameter `id`
  - added required request body
  - api operation id `SocialController_sendMessage_post__api_social_conversations__id__messages` was added
  - the endpoint scheme security `bearerAuth` was added to the API
  - …8 more
- **2026-10-06** `b678383d0162`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gdeiassistant/apis/gdeiassistant-api/changes/api/social/conversations/:id/messages/post.md)

---

[API](https://skmtc.dev/gdeiassistant/apis/gdeiassistant-api.md) - [All operations](https://skmtc.dev/gdeiassistant/apis/gdeiassistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gdeiassistant/apis/gdeiassistant-api/revisions/b3983583c335?raw)
