---
title: "PUT /chatChannel/{channelID}/message"
method: PUT
path: "/chatChannel/{channelID}/message"
tags: ["messages"]
---

# PUT /chatChannel/{channelID}/message

`PUT /chatChannel/{channelID}/message`

Send a new chat message to a chat channel

## Path parameters

- `channelID` string, uuid, required

## Request body

- object
  - `text` string, required — See the Rich Text page to learn more about formatting
  - `from` string, uuid, required — The user id of the sender. Only an admin user can be chosen. If this field is not provided, the user that created the API key will be used.
  - `createdAt` string, date-time — Optional timestamp to override the default creation time for the chat message. Must be in ISO 8601 format.

## Response `204`

Successful response

## Other responses

- `400` — Invalid request body
- `401` — API Key is missing or invalid

---

[API](https://skmtc.dev/heartbeat/apis/heartbeat-api.md) · [All operations](https://skmtc.dev/heartbeat/apis/heartbeat-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/heartbeat/heartbeat-api/revisions/6c3cf537d508/schema)
