Skip to main content
POST
Edit sent message

Authorizations

apikey
string
header
required

Your Pilot Status API key (ps_...). Evolution GO also accepts Authorization: Bearer <key>.

Path Parameters

instance
string
required

The number's display name in the Pilot Status dashboard.

Body

application/json
number
string
required

Recipient number / chat the message was sent to.

Example:

"5511999999999"

text
string
required

New message text.

Example:

"Edited message text"

key
object
required

Key of the message to edit (id, remoteJid, fromMe).

Example:

Response

Success — provider-native response body.

Baileys WAMessage returned from the edit send.

key
object
message
object

Edited message payload (contains a protocolMessage of type MESSAGE_EDIT wrapping the new content).

messageTimestamp
integer

Unix timestamp (seconds) of the edit.

status
string

Delivery status, e.g. "PENDING".