Skip to main content
POST
Edit a sent message

Authorizations

token
string
header
required

Body

application/json
id
string
required

Full ID returned by the API or just the messageid

Example:

"3A12345678901234567890123456789012"

text
string
required

New text content of the message

Example:

"Edited message text"

Response

Message edited successfully

id
string

Full message ID returned by the API

Example:

"5511999999999:3A12345678901234567890123456789012"

messageid
string

Message ID on WhatsApp

Example:

"3A12345678901234567890123456789012"

content
string

Content of the edited message

Example:

"Edited message text"

messageTimestamp
integer

Message timestamp (Unix timestamp in milliseconds)

Example:

1704067200000

messageType
string

Message type

Example:

"text"

status
string

Message status

Example:

"Pending"

owner
string

Instance owner

Example:

"5511999999999"