Skip to main content
PUT
Edit a message

Authorizations

Authorization
string
header
required

Scoped API key created via POST /api/account/keys.

Path Parameters

session
string
required

Session name

chatId
string
required

Chat JID

messageId
string
required

Message ID

Body

application/json

New message text

text
string
required

New text content for the message

Example:

"Updated message text"

Response

OK

Simple success/failure response with no data payload

message
string

Human-readable result message

success
boolean

Whether the operation succeeded