Получить исходящие статусы
GET
/waInstance{{idInstance}}/getOutgoingStatuses/{{apiTokenInstance}}Документация GetOutgoingStatuses
Request
Query Params
minutes
string
required
Example:
1440
Request samples
Responses
getOutgoingStatuses(200)
getOutgoingStatuses
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
ExamplegetOutgoingStatuses
[
{
"type": "outgoing",
"idMessage": "BAE5018000000000",
"timestamp": 1710134811,
"typeMessage": "extendedTextMessage",
"chatId": "70000000001@c.us",
"textMessage": "I use Green-API to send this story!",
"extendedTextMessage": {
"text": "I use Green-API to send this story!",
"backgroundColor": "#228B22",
"font": "SERIF",
"participants": [
"70000000001@c.us",
"70000000002@c.us" // статус будет доступен только указанным контактам
]
},
"statusMessage": "read",
"sendByApi": true
},
{
"type": "outgoing",
"idMessage": "BAE5207000000000",
"timestamp": 1710134814,
"typeMessage": "imageMessage", // "videoMessage" / "audioMessage"
"chatId": "70000000001@c.us",
"participants": [], // сторис доступен всем
"downloadUrl": "https://sw-media.storage.yandexcloud.net/1101000000/dcf81410-bdbc-4aed-bf23-d1845c000000.jpg",
"caption": "I use Green-API to send this message on story!",
"fileName": "dcf81410-bdbc-4aed-bf23-d1845cd74754.jpg",
"jpegThumbnail": "/9j/2wCEABALDA4MChAODQ4SERATGCgaGBYWGDEjJ",
"mimeType": "image/jpeg",
"statusMessage": "read",
"sendByApi": true
}
]
Last modified: a month ago