Получить входящие статусы
GET
/waInstance{{idInstance}}/getIncomingStatuses/{{apiTokenInstance}}Документация GetIncomingStatuses
Request
Query Params
minutes
string
required
Example:
1440
Request samples
Responses
getIncomingStatuses(200)
getIncomingStatuses
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
ExamplegetIncomingStatuses
[
{
"type": "incoming",
"idMessage": "1E1A12D337F2BFA5FC0000000000000",
"timestamp": 1710232595,
"typeMessage": "extendedTextMessage",
"chatId": "70000000001@c.us",
"textMessage": "Прекрасное утро!",
"extendedTextMessage": {
"text": "Прекрасное утро!",
"backgroundColor": "#228B22",
"font": "SANS_SERIF"
},
"senderId": "70000000001@c.us",
"senderName": "Николай",
"senderContactName": "Коля"
},
{
"type": "incoming",
"idMessage": "38E322274FDEBA56047000000000000",
"timestamp": 1710232636,
"typeMessage": "imageMessage", // "videoMessage" / "audioMessage"
"chatId": "70000000001@c.us",
"downloadUrl": "https://sw-media.storage.yandexcloud.net/1101000000/dcf81410-bdbc-4aed-bf23-d1845c000000.jpg",
"caption": "Прекрасное утро!",
"fileName": "dcf81410-bdbc-4aed-bf23-d1845cd74754.jpg",
"jpegThumbnail": "/9j/2wCEABALDA4MChAODQ4SERATGCgaGBYWGDEjJ",
"mimeType": "image/jpeg",
"senderId": "70000000001@c.us",
"senderName": "Николай",
"senderContactName": "Коля"
}
]
Last modified: 19 days ago