Get chat message
POST
/waInstance{{idInstance}}/getMessage/{{apiTokenInstance}}Documentation GetMessage
Request
Body Params application/json
chatId
string
required
idMessage
string
required
Example
{
"chatId": "120363043968066561@g.us",
"idMessage": "BAE5F4886F6F2D05"
}
Request samples
Responses
incomingTextMessage(200)
outgoingTextMessage(200)
incomingMediaMessage(200)
outgoingMediaMessage(200)
incomingReactionMessage(200)
outgoingReactionMessage(200)
incomingLocationMessage(200)
outgoingLocationMessage(200)
incomingContactMessage(200)
outgoingContactMessage(200)
incomingExtendedTextMessage(200)
outgoingExtendedTextMessage(200)
incomingPollMessage(200)
outgoingPollMessage(200)
incomingPollUpdateMessage(200)
incomingQuotedMessage(200)
outgoingQuotedMessage(200)
incomingTextMessage
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
type
string
required
idMessage
string
required
timestamp
integer
required
typeMessage
string
required
chatId
string
required
textMessage
string
required
senderId
string
required
senderName
string
required
senderContactName
string
required
deletedMessageId
string
required
editedMessageId
string
required
isEdited
boolean
required
isDeleted
boolean
required
ExampleincomingTextMessage
{
"type": "incoming",
"idMessage": "9DB14F14A253D33F4A9CD84123456789",
"timestamp": 1706522263,
"typeMessage": "textMessage",
"chatId": "120363153000000000@g.us",
"textMessage": "Hi",
"senderId": "70000000012@c.us",
"senderName": "Rachel",
"senderContactName": "Rachel 2",
"deletedMessageId": "",
"editedMessageId": "",
"isEdited": false,
"isDeleted": false
}
Last modified: 18 days ago