Conecta icon

Conecta

Integração com a plataforma Conecta API

Actions108

Chat → Find Messages

AI-generated

Summary

Retrieve messages from a specified chat, supporting pagination by page number and number of messages per page.

Inputs

  • Chat ID (required) — UUID of the chat to retrieve messages from.
  • Page — Page number for pagination (default is 1).
  • Per Page — Number of messages to retrieve per page (default is 20).

Output shape

a JSON object containing the list of messages for the specified chat and page parameters.

The operation returns a single JSON response containing messages. Pagination parameters default to page=1 and 20 messages per page if not specified. Errors will throw NodeApiError unless 'Continue On Fail' is enabled.

Discussion