New Evolution API icon

New Evolution API

Interact with Evolution API - Complete WhatsApp Integration (114+ operations)

Actions129

Canai → Buscar Mensagens

AI-generated

Summary

Fetch messages from a specified channel within an instance, optionally limiting the number and filtering by messages after a certain server ID for incremental sync.

Inputs

  • Instance Name or ID (required) — Select or specify the instance to query messages from.
  • Channel Name or ID (required) — Select or specify the channel within the instance to fetch messages from.
  • Quantidade — Set the number of messages to retrieve; defaults to 20.
  • Após Server ID — Fetch messages with server IDs greater than this value to enable incremental synchronization; default is 0 to fetch all.

Output shape

a list of message objects represented as JSON items

The output returns an array of JSON objects containing the fetched messages. Pagination is controlled by the 'Quantidade' and 'Após Server ID' input parameters to manage message count and incremental fetching respectively.

Discussion