curl --request GET \
--url http://localhost:3000/api/messages \
--header 'Authorization: Bearer <token>'Recupere o histórico de mensagens da instância ou organização
curl --request GET \
--url http://localhost:3000/api/messages \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "msg_...",
"waMessageId": "wamid.HBgLNTUx...",
"to": "5511999999999",
"type": "text",
"status": "read",
"createdAt": "2026-01-01T10:00:00Z"
}
],
"total": 320,
"page": 1,
"limit": 50
}