---
title: "get_message_byid"
method: POST
path: "/{instance_id}/api/v1/get_message_byid"
---

# get_message_byid

`POST /{instance_id}/api/v1/get_message_byid`

Retorna informações detalhadas de mensagens enviadas ou recebidas

## Path parameters

- `instance_id` string, required

## Request body

- object
  - `number` string — Número do WhatsApp do destinatário (ex: `62953907197`)
  - `id` string — id da mensagem que deseja consultar (ex: `3EB03BE5888ACBE15BBB`)

## Response `200`

200

- object
  - `id` string
  - `body` string
  - `type` string
  - `t` integer
  - `notifyName` string
  - `from` string
  - `to` string
  - `self` string
  - `ack` integer
  - `isNewMsg` boolean
  - `star` boolean
  - `kicNotified` boolean
  - `recvFresh` boolean
  - `isFromTemplate` boolean
  - `broadcast` boolean
  - `mentionedJidList` object[]
  - `isVcardOverMmsDocument` boolean
  - `isForwarded` boolean
  - `labels` object[]
  - `hasReaction` boolean
  - `ephemeralOutOfSync` boolean
  - `productHeaderImageRejected` boolean
  - `lastPlaybackProgress` integer
  - `isDynamicReplyButtonsMsg` boolean
  - `isMdHistoryMsg` boolean
  - `requiresDirectConnection` boolean
  - `pttForwardedFeaturesEnabled` boolean
  - `chatId` object
    - `server` string
    - `user` string
    - `_serialized` string
  - `fromMe` boolean
  - `sender` object
    - `id` object
      - `server` string
      - `user` string
      - `_serialized` string
    - `pushname` string
    - `type` string
    - `labels` object[]
    - `formattedName` string
    - `isMe` boolean
    - `isMyContact` boolean
    - `isPSA` boolean
    - `isUser` boolean
    - `isWAContact` boolean
    - `profilePicThumbObj` object
      - `id` object
        - `server` string
        - `user` string
        - `_serialized` string
      - `tag` string
    - `msgs` unknown
  - `timestamp` integer
  - `content` string
  - `isGroupMsg` boolean
  - `isMedia` boolean
  - `isNotification` boolean
  - `isPSA` boolean
  - `mediaData` object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/chatpro/apis/chatpro-api.md) · [All operations](https://skmtc.net/chatpro/apis/chatpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chatpro/chatpro-api/versions/d98dad273843/schema)
