Chatwoot fazer.ai icon

Chatwoot fazer.ai

Interact with the Chatwoot API

Actions134

Conversation → List Messages

AI-generated

Summary

List messages in a conversation

Inputs

  • accountId (required) — Select the account to use.
  • inboxId (required) — Select the inbox to use.
  • conversationId (required) — Select the conversation to use.
  • fetchAtLeast — Minimum number of messages to fetch; pagination continues until this count is reached.
  • listMessagesOptions — Configuration options for listing messages, such as a 'Before Message' ID for pagination.

Output shape

Array of message objects

May be paginated; empty array if no messages; may include pagination metadata.

Examples

Example 1: Retrieve the latest messages from a conversation

Set Account, Inbox, and Conversation IDs; optionally increase fetchAtLeast.

Example 2: Paginate backwards using a specific message ID

Provide a Before Message ID via listMessagesOptions.before; keep other fields default.

Example 3: List messages with minimal configuration

Select Account, Inbox, and Conversation; leave fetchAtLeast and options unchanged.

Links

Discussion