Messages
Get message
Fetch a single message by its complete WhatsApp message key.
Requires chats:read.
Request
curl -X GET "https://api.blueticks.co/v1/messages/string"{
"success": true,
"data": {
"key": "string",
"chat_id": "string",
"from": "string",
"author": "string",
"timestamp": "2019-08-24T14:15:22Z",
"text": "string",
"type": "string",
"from_me": true,
"ack": 0,
"media_url": "string",
"caption": "string",
"filename": "string",
"link_preview": {
"title": "string",
"description": "string",
"canonical_url": "string",
"thumbnail": "string"
}
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"request_id": "string",
"details": [
{
"path": "string",
"code": "string",
"message": "string"
}
]
}
}Path Parameters
waMessageKey*string
The complete WhatsApp message key (<fromMe>_<chatJid>_<id>[_<participant>]), e.g. false_120363426216988013@g.us_3EB0659D13650092D677AD_188450464616609@lid.
Query Parameters
chatId?string
Optional. Only used to find the message faster — when you pass a bare message id instead of the complete key, chatId lets the server rebuild the full key. If you pass the complete waMessageKey you can omit it.
Response
Response Body
application/json
application/json