Actions45
- Chat Actions
- List Actions
- Member Actions
- Object Actions
- Property Actions
- Search Actions
- Space Actions
- Tag Actions
- Template Actions
- Type Actions
Chat → Get Messages
AI-generatedSummary
Retrieve all messages from a specified chat within a given space in Anytype.
Inputs
- spaceId (required) — The ID of the space containing the chat to retrieve messages from.
- chatId (required) — The ID of the chat from which to get the messages.
Output shape
a list of messages
The messages are returned as an array under the 'messages' property from the API response and unwrapped for the output. There is no pagination option for this operation.
Examples
Example 1: Get all messages from a specific chat
Set the Space parameter to the space containing the chat, and the Chat parameter to the chat ID whose messages you want to retrieve.