cURL
curl --request POST \ --url https://{server-url}/chat/markMessageAsRead/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "readMessages": [ { "remoteJid": "<string>", "fromMe": true, "id": "<string>" } ] }'
{ "message": "Read messages", "read": "success" }
Mark message as read
Your authorization key header
Name of the instance
Messages to be mark as read
Show child attributes
Created
A brief message describing the action performed.
The status of the read action.