GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Journal → getMessage

AI-generated

Summary

Retrieve a specific message from the chat journal using its unique identifier.

Inputs

  • chatId (required) — The unique identifier of the chat, formatted as '79000000000@c.us'.
  • idMessage (required) — The unique identifier of the message to retrieve, e.g., 'BAE01234567890ABC'.

Output shape

a single message record

Returns the message details if found; otherwise, appropriate error response will be generated.

Examples

Example 1: Fetch a message from a specific chat by its ID.

Set 'chatId' to '79000000000@c.us' and 'idMessage' to 'BAE01234567890ABC'.

Discussion