Obtener lista de chats de una sesión
🚀 Servidor de producción
https://api.hiveflow.com/api
🚀 Servidor de producción
https://api.hiveflow.com/api
GET
/whatsapp/sessions/{sessionId}/chats
WhatsApp
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.hiveflow.com/api/whatsapp/sessions//chats'
Response Response Example
{
"success": true,
"chats": [
{
"chatId": "1234567890@c.us",
"name": "Juan Pérez",
"type": "individual",
"isGroup": true,
"participants": [
{
"id": "string",
"name": "string",
"isAdmin": true
}
],
"lastMessage": {
"body": "string",
"timestamp": "2019-08-24T14:15:22Z",
"fromMe": true,
"author": "string",
"type": "string"
},
"unreadCount": 0,
"isPinned": true,
"isMuted": true
}
],
"pagination": {
"total": 0,
"limit": 0,
"offset": 0,
"hasMore": true
}
}
Request
Path Params
sessionId
string
required
Query Params
limit
integer
optional
Default:
20
offset
integer
optional
Default:
0
type
enum<string>
optional
Allowed values:
individualgroupbroadcast
unreadOnly
boolean
optional
Default:
false
Responses
Modified at 2025-06-19 15:26:15