Message operations
| Endpoint | Body | Use |
|---|---|---|
POST /message/react | Phone, Body, Id, IsFromMe, Participant | React to a message. Use Body: "remove" or empty body to remove a reaction. |
POST /message/edit | Chat, Message, MessageID | Edit a sent text message. |
POST /message/delete | Chat, MessageID | Revoke a message for everyone. |
POST /message/markread | Id, Chat, Sender | Mark one or more message IDs as read. |
POST /message/status | Id | Read stored local status for a message ID from WaGo’s database. |
POST /message/presence | Phone, State, Media | Send chat presence through the message presence controller. |
React example
Participant can be the same user JID. For group messages, use the participant JID from the webhook.
Download media
Download endpoints reconstruct encrypted WhatsApp media from metadata in the message webhook.| Endpoint | Media |
|---|---|
POST /message/download/image | Image |
POST /message/download/video | Video |
POST /message/download/document | Document |
POST /message/download/audio | Audio |
POST /message/download/sticker | Sticker |
POST /message/downloadimage | Legacy image alias |

