---
title: "Update Message"
method: POST
path: "/chat/updateMessage/{instance}"
tags: ["Chat Controller"]
---

# Update Message

`POST /chat/updateMessage/{instance}`

Update message

## Path parameters

- `instance` string, required

## Request body

- object
  - `number` integer, required — Receiver phone number with country code
  - `text` string, required — New message content
  - `key` object, required
    - `remoteJid` string — Chat contact or group remote JID
    - `fromMe` boolean — If the message was sent by the instance owner or not
    - `id` string — Message ID

## Response `200`

Ok

## Changes

- **2024-11-05** (v2) `669c21c8934b` — 1 info
  - endpoint added
- **2024-10-14** (v2) `c153448703e5` — 1 breaking
  - api removed without deprecation
- **2024-09-09** (v2) `0c4620ca5ed5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/evolution-foundation/apis/openapi/changes/chat/updateMessage/:instance/post.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/openapi.md) · [All operations](https://skmtc.dev/evolution-foundation/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolution-foundation/openapi/revisions/153363ee7f38/schema)
