MsgCore icon

MsgCore

Universal messaging gateway - send messages across multiple platforms

Chats → Messages

AI-generated

Summary

Retrieve messages for a specific chat with pagination.

Inputs

  • chatId (required) — Unique identifier of the chat to fetch messages for.
  • project (required) — Project identifier to operate on; defaults to 'default'.
  • limit — Number of messages to return; defaults to 50.
  • offset — Number of messages to skip; defaults to 0.

Output shape

An array of message objects representing the chat's message history.

Pagination is handled via limit and offset query parameters. The request uses the GET method against /api/v1/projects/{{project}}/chats/{{chatId}}/messages. All parameters are grounded in the operation‑scoped properties and the node's bundled source.

Examples

Example 1: Fetch the 20 most recent messages from chat ID 'abc123' in the default project.

Set chatId to 'abc123', leave project at default, and set limit to 20.

Discussion