POST
/api/messages/readMarks 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
| Name | Type | Required | Description |
|---|---|---|---|
| key | object | Yes | The exact message key object representing the message you want to mark as read. |
| key.id | string | Yes | The unique message ID (e.g., 3EB06A5E244031B4A5D1). |
| key.remoteJid | string | Yes | The JID of the chat where the message was sent (e.g., [email protected]). |
| key.fromMe | boolean | Yes | Indicates 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"
}
}