v1

latestOpenAPI 3.0.02026-07-249301.3 MB
Messaging

Edit a message

Edit a message. Supported for WhatsApp and LinkedIn Classic only. WhatsApp may reject edits after an indicative 15-minute window following the original send time. LinkedIn Classic edits are only possible within the first 60 minutes after the message is sent.

patch/api/v1/messages/{message_id}

Path parameters

message_idstring required

The id of the message to edit.

Request body

textstring required

The updated text of the message. For media messages, this is used as the updated caption when supported by the provider. On WhatsApp, edits may be rejected after an indicative 15-minute window following the original send time. On LinkedIn Classic, edits are only possible within the first 60 minutes after the message is sent.

Response

OK. Request succeeded.

object'MessagePatched' required