Получить журнал отправленных сообщений
GET
/waInstance{{idInstance}}/lastOutgoingMessages/{{apiTokenInstance}}Документация LastOutgoingMessages
Request
Query Params
minutes
string
required
Время в минутах
Example:
1440
Request samples
Responses
lastOutgoingMessages(200)
lastOutgoingMessages
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
type
string
required
idMessage
string
required
timestamp
integer
required
typeMessage
string
required
chatId
string
required
textMessage
string
optional
statusMessage
string
required
sendByApi
boolean
required
deletedMessageId
string
required
editedMessageId
string
required
isEdited
boolean
required
isDeleted
boolean
required
extendedTextMessageData
object
optional
text
string
required
quotedMessage
object
optional
stanzaId
string
required
participant
string
required
ExamplelastOutgoingMessages
[
{
"type": "outgoing",
"idMessage": "BAE5143000000000",
"timestamp": 1706761225,
"typeMessage": "textMessage",
"chatId": "70000000012@c.us",
"textMessage": "Привет",
"statusMessage": "read",
"sendByApi": true,
"deletedMessageId": "",
"editedMessageId": "",
"isEdited": false,
"isDeleted": false
},
{
"type": "outgoing",
"idMessage": "3A1EBA0F23004BD415BB",
"timestamp": 1706601621,
"typeMessage": "reactionMessage",
"chatId": "70000000012@c.us",
"extendedTextMessageData": {
"text": "😄"
},
"quotedMessage": {
"stanzaId": "B4D7D8A1A7D887D5580F000000000000",
"participant": "70000000012@c.us"
},
"statusMessage": "read",
"sendByApi": false,
"deletedMessageId": "",
"editedMessageId": "",
"isEdited": false,
"isDeleted": false
}
]
Last modified: 19 days ago