---
title: "Changes to Sends a new chat message to the given room"
method: POST
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/message"
---

# Changes to Sends a new chat message to the given room

`POST /ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/message`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 51 revisions.

- **2026-06-17** `a81fd24f7d0e`: 2 info
- **2026-03-11** `7c2c505b407f`: 2 info
- **2024-11-22** `545f769b7062`: 4 breaking
- **2024-07-23** `7db01ffd71c4`: 1 breaking, 4 warning

## Changes

- **2026-06-17** `a81fd24f7d0e`: 2 info
  - added the new optional `header` request parameter `x-nextcloud-talk-bot-random`
  - added the new optional `header` request parameter `x-nextcloud-talk-bot-signature`
- **2026-03-11** `7c2c505b407f`: 2 info
  - added the new optional request property `threadId`
  - added the new optional request property `threadTitle`
- **2024-11-22** `545f769b7062`: 4 breaking
  - the response property `ocs/data` became nullable for the status `201`
  - the response property `ocs/data` became nullable for the status `400`
  - the response property `ocs/data` became nullable for the status `401`
  - the response property `ocs/data` became nullable for the status `413`
- **2024-07-23** `7db01ffd71c4`: 1 breaking, 4 warning
  - added required request body
  - deleted the `query` request parameter `message`
  - deleted the `query` request parameter `referenceId`
  - deleted the `query` request parameter `replyTo`
  - deleted the `query` request parameter `silent`

---

[Operation](https://skmtc.dev/nextcloud/apis/spreed-bots/docs/ocs/v2.php/apps/spreed/api/:apiVersion/bot/:token/message/post.md) - [API](https://skmtc.dev/nextcloud/apis/spreed-bots.md) - [Page](https://skmtc.dev/nextcloud/apis/spreed-bots/changes/ocs/v2.php/apps/spreed/api/:apiVersion/bot/:token/message/post)
