v1

latestOpenAPI 3.1.02026-07-1419045.3 KB

get_message_byid

Retorna informações detalhadas de mensagens enviadas ou recebidas

post/{instance_id}/api/v1/get_message_byid

Path parameters

instance_idstring required

Código da sua instância (ex: chatpro-fx5qbe2hah)

Request body

numberstring

Número do WhatsApp do destinatário (ex: 62953907197)

idstring

id da mensagem que deseja consultar (ex: 3EB03BE5888ACBE15BBB)

Response

200

idstring
bodystring
typestring
tinteger
notifyNamestring
fromstring
tostring
selfstring
ackinteger
isNewMsgboolean
starboolean
kicNotifiedboolean
recvFreshboolean
isFromTemplateboolean
broadcastboolean
mentionedJidListobject[]
isVcardOverMmsDocumentboolean
isForwardedboolean
labelsobject[]
hasReactionboolean
ephemeralOutOfSyncboolean
productHeaderImageRejectedboolean
lastPlaybackProgressinteger
isDynamicReplyButtonsMsgboolean
isMdHistoryMsgboolean
requiresDirectConnectionboolean
pttForwardedFeaturesEnabledboolean
fromMeboolean
timestampinteger
contentstring
isGroupMsgboolean
isMediaboolean
isNotificationboolean
isPSAboolean
mediaDataobject

Example response

{
  "id": "false_5527998278888@c.us_3AA6415C5F4DDB233EEE",
  "body": "Exemplo de mensagem recebida",
  "type": "chat",
  "t": 1672775086,
  "notifyName": "Exemplo Nome 🏄🏻‍♂️",
  "from": "5527998278888@c.us",
  "to": "5511969079999@c.us",
  "self": "in",
  "ack": 1,
  "isNewMsg": true,
  "recvFresh": true,
  "pttForwardedFeaturesEnabled": true,
  "chatId": {
    "server": "c.us",
    "user": "5527998278888",
    "_serialized": "552799829999@c.us"
  },
  "sender": {
    "id": {
      "server": "c.us",
      "user": "5527998278888",
      "_serialized": "5527998279999@c.us"
    },
    "pushname": "Exemplo Nome 🏄🏻‍♂️",
    "type": "in",
    "formattedName": "+55 27 99827-8888",
    "isUser": true,
    "isWAContact": true,
    "profilePicThumbObj": {
      "id": {
        "server": "c.us",
        "user": "552799828888",
        "_serialized": "5527998278888@c.us"
      }
    }
  },
  "timestamp": 1672775086,
  "content": "Exemplo de mensagem recebida"
}