curl --request POST \
--url https://apis.vectalk.com.br/api/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"status": "read",
"message_id": "wamid.HBgLNTUx..."
}'
Mensagens
Marcar como Lida
Marque uma mensagem recebida como lida (exibe os dois checks azuis)
POST
/
messages
curl --request POST \
--url https://apis.vectalk.com.br/api/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"status": "read",
"message_id": "wamid.HBgLNTUx..."
}'
string
default:"whatsapp"
required
string
default:"read"
required
string
required
ID da mensagem recebida via webhook (
messages[0].id).curl --request POST \
--url https://apis.vectalk.com.br/api/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"status": "read",
"message_id": "wamid.HBgLNTUx..."
}'