---
title: "POST /chat/message"
method: POST
path: "/chat/message"
tags: ["ChatMessages"]
---

# POST /chat/message

`POST /chat/message`

Create a new message

## Request body

- ChatCreateorUpdateMessageRequest
  - `text` string, required — Message sent by user
  - `channelId` string, required — Id of channel to which message was sent

## Response `200`

- ChatCreateorUpdateMessageResponse
  - `status` 'ok' | 'error', required
  - `result` CommonMessage, required
    - `text` string, required — Message sent by user
    - `channelId` string, required — Id of channel to which message was sent

## Other responses

- `400`
- `401`
- `404`
- `500`

---

[API](https://skmtc.net/revertinc/apis/revert-api.md) · [All operations](https://skmtc.net/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revertinc/revert-api/revisions/698ea54a2330/schema)
