Skip to main content
GET
Find message by ID
Auth: TokenAccount or TokenInstanceRate-limit: Global (100/min) • Idempotent: yes

Description

Returns the persisted snapshot of a message (text, media, caption, mimetype, size, etc.) that has already been processed by ingestion. Useful to rehydrate a message from the messageId received in a webhook or in another API endpoint.

Examples

By id

Retrieves the message snapshot using the ?messageId=<message-id> query. Returns the full record (text, media, caption, mimetype, size) persisted by ingestion.

Success response

The snapshot comes in data with type, from, to, chat, timestamp, isGroup, and the send status. For text messages, content carries the body; for media, the media object appears with type, mimeType, size, and duration (audio/video). Use messageId from the envelope to reference this message in subsequent calls (favorite, forward, edit).
200 OK

Path parameters

string
required
Instance name.

Query params

string
required
Message ID (required).

Headers

Error responses

Error 400

Media as base64

Retrieve raw media from the messageId.

Delivery status

Check whether it was delivered/read.