---
title: "Edit Message"
method: POST
path: "/message/{message_id}/edit"
tags: ["message"]
---

# Edit Message

`POST /message/{message_id}/edit`

This endpoint edits a message based on the `message_id` or `queue_id`

## Headers

- `x-phone` string

## Request body

- object
  - `edited_body` string, required — - The edited message body - Media content or polls cannot be edited. In the case of media, only the caption will be edited - Edit is only possible for the first 15 minutes after the message is delivered

## Response `204`

204

- object — _204 No Content_

---

[API](https://skmtc.net/periskope/apis/api-local.md) · [All operations](https://skmtc.net/periskope/apis/api-local/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/periskope/api-local/versions/f2738ced87d8/schema)
