WhatsApp: Edit a Sent Message

View all WhatsApp Messaging API endpoints →

Edit the text of a message you previously sent. Send a JSON body with the chatJid, the messageId of your sent message, and the new text. For group messages you may pass senderJid; it is inferred from the available message history when omitted. Only your own messages can be edited. Returns the result.

API Features

In-place correction Update the text of a message you already sent without deleting it
Cache-assisted senderJid is resolved automatically from the available message history when omitted
Simple payload Just chatJid, messageId, and the new text

Live API Demo

POST /api/project/whatsapp-messaging/edit-message

API Response (JSON)

{}
curl -X POST 'https://api.opendata-api.com/api/project/whatsapp-messaging/edit-message?key=<API_KEY>&sessionId=<sessionId>' \ -H 'Content-Type: application/json' \ -d '{"body":"{\"chatJid\":\"8613800138000@s.whatsapp.net\",\"messageId\":\"ABCD1234\",\"text\":\"Corrected text\"}"}'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Related operations

Guides

View Subscription Plans →