v1

latestOpenAPI 3.0.32026-07-26870417.2 KB
message

Edit Message

This endpoint edits a message based on the message_id or queue_id

post/message/{message_id}/edit

Headers

x-phonestring
Example:{{orgPhone}}

Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header

Request body

edited_bodystring 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

Example request

{
  "edited_body": "Hello, Edited World"
}

Response

204

object required

204 No Content