Obtener mensajes de un chat específico
🚀 Servidor de producción
https://api.hiveflow.com/api
🚀 Servidor de producción
https://api.hiveflow.com/api
GET
/whatsapp/sessions/{sessionId}/chats/{chatId}/messages
WhatsApp
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.hiveflow.com/api/whatsapp/sessions//chats//messages'
Response Response Example
{
"success": true,
"messages": [
{
"messageId": "string",
"body": "string",
"timestamp": "2019-08-24T14:15:22Z",
"fromMe": true,
"author": "string",
"type": "chat",
"hasMedia": true,
"mediaUrl": "string",
"caption": "string",
"quotedMessage": {},
"reactions": [
{
"emoji": "string",
"author": "string"
}
],
"isForwarded": true,
"forwardingScore": 0
}
],
"pagination": {
"hasMore": true,
"oldestMessageId": "string",
"newestMessageId": "string"
}
}
Request
Path Params
sessionId
string
required
chatId
string
required
Query Params
limit
integer
optional
Default:
50
before
string <date-time>
optional
after
string <date-time>
optional
messageType
enum<string>
optional
Allowed values:
chatimagevideoaudiodocumentlocationcontact
fromMe
boolean
optional
Responses
Modified at 2025-06-19 15:26:15