curl --request POST \
--url https://api.zapthinker.com/chat/markChatUnread/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"lastMessage": [
{
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>"
}
],
"chat": "<string>"
}
'{
"message": "Read messages",
"read": "success"
}Mark message as read
curl --request POST \
--url https://api.zapthinker.com/chat/markChatUnread/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"lastMessage": [
{
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>"
}
],
"chat": "<string>"
}
'{
"message": "Read messages",
"read": "success"
}Documentation Index
Fetch the complete documentation index at: https://docs.zapthinker.com/llms.txt
Use this file to discover all available pages before exploring further.
Your authorization key header
Name of the instance