WasenderApi - Low Cost WhatsApp API for Developers Mark Message as Read - API Documentation - WasenderApi - Low Cost WhatsApp API for Developers
WasenderAPI

API Documentation

WasenderApi WhatsApp API

Mark Message as Read

Messages

POST/api/messages/read

Marks a specific received WhatsApp message as read (blue ticks).

Mark Message as Read

This endpoint allows you to programmatically mark a message as read, which will trigger the "blue ticks" on the sender's device.

To mark a message as read, you must pass the exact key object associated with the message. You typically receive this key object in incoming message webhooks (e.g., messages.received).

The key object must contain three properties: id, remoteJid, and fromMe.

Parameters

NameTypeRequiredDescription
keyobjectYesThe exact message key object representing the message you want to mark as read.
key.idstringYesThe unique message ID (e.g., 3EB06A5E244031B4A5D1).
key.remoteJidstringYesThe JID of the chat where the message was sent (e.g., [email protected]).
key.fromMebooleanYesIndicates if the message was sent by you (`true`) or received (`false`). Usually `false` when marking incoming messages as read.

Code Examples

curl -X POST "https://www.wasenderapi.com/api/messages/read" 
  -H "Authorization: Bearer YOUR_API_KEY" 
  -H "Content-Type: application/json" 
  -d '{
    "key": {
        "id": "3EB06A5E244031B4A5D1",
        "remoteJid": "[email protected]",
        "fromMe": false
    }
}'

Response Examples

{
    "success": true,
    "data": {
        "status": "read"
    }
}