---
title: "Updates an existing message in a Slack channel."
method: POST
path: "/updateMessage"
---

# Updates an existing message in a Slack channel.

`POST /updateMessage`

This function allows you to modify a previously sent message by its timestamp. You can change its text, blocks, or attachments. The response contains information about the updated message.

## Request body

- object
  - `body` object — Body of the updateMessage sls call
    - `arguments` object, required — An object containing the updated message data
      - `channel` string, required — Channel ID where the message is located
      - `ts` string, required — Message timestamp
      - `text` string — New message text (optional)
      - `blocks` object[] — Updated blocks (optional)
      - `attachments` object[] — Updated attachments (optional)

## Response `200`

Successful response

- object
  - `ok` boolean, required — Success indicator
  - `channel` string — Channel ID
  - `ts` string — Message timestamp
  - `message` object — Message details

## Other responses

- `400` — Bad request
- `404` — Message or channel not found
- `500` — Server error

## Changes

> 17 revisions in range; 1 could not be searched.

- **2025-07-06** `089d0d129999` — 3 breaking, 2 warning, 3 info
  - added the new required request property `body/arguments/channel`
  - added the new required request property `body/arguments/ts`
  - the `body/arguments` request property type/format changed from `array`/`` to `object`/``
  - removed the request property `body/auth`
  - …4 more
- **2025-05-29** `d01bc484075b` — 1 info
  - added the non-success response with the status `404`
- **2025-05-27** `8ed465204f85` — 6 warning, 4 info
  - removed the request property `attachments`
  - removed the request property `blocks`
  - removed the request property `channel`
  - removed the request property `text`
  - …6 more
- **2025-05-15** `f4d5f1c6aa29` — 1 info
  - endpoint added
- **2025-05-15** `9da633fac0b3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/microfox-ai/apis/microfox-slack-web-tiny-api/changes/updateMessage/post.md)

---

[API](https://skmtc.dev/microfox-ai/apis/microfox-slack-web-tiny-api.md) · [All operations](https://skmtc.dev/microfox-ai/apis/microfox-slack-web-tiny-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/microfox-ai/microfox-slack-web-tiny-api/revisions/430f57e9b7c5/schema)
