curl --request PUT \
--url https://api.wappfy.com.br/chat/markMessageAsRead/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"read_messages": [
{
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>"
}
]
}'
{
"message": "Read messages",
"read": "success"
}
Marcar mensagem como lida
curl --request PUT \
--url https://api.wappfy.com.br/chat/markMessageAsRead/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"read_messages": [
{
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>"
}
]
}'
{
"message": "Read messages",
"read": "success"
}
Seu cabeçalho da chave de autorização.
ID da instância.
Created
The response is of type object
.