ChatWoot Application icon

ChatWoot Application

Interact with ChatWoot Application APIs

Actions112

Message → Get Messages

AI-generated

Summary

Retrieve messages from a specified ChatWoot conversation within a given account, optionally filtering messages by their IDs to fetch messages before or after certain points.

Inputs

  • Account ID (required) — Provide the numeric ID of the ChatWoot account from which to retrieve messages.
  • Conversation Name or ID (required) — Select or specify the ID of the conversation whose messages you want to fetch.
  • Additional Options — Optionally include query parameters to fetch messages after or before a specific message ID to control paging and ordering.

Output shape

a list of message records from the specified conversation.

The number of messages returned is limited by the 'after' and 'before' parameters: 'after' returns up to 100 messages in ascending order after the specified message ID, while 'before' returns up to 20 messages before the specified ID, also in ascending order. If both are omitted, defaults apply based on API behavior. The outputs do not include pagination metadata, so multiple requests may be required to retrieve all messages.

Links

Discussion