Front icon

Front

Interact with the Front API

Message → Get Many

AI-generated

Summary

Retrieve multiple messages from a conversation in Front

Inputs

  • conversationId (required) — The ID of the conversation to fetch messages from
  • returnAll — Whether to return all results or only up to a given limit
  • limit — Maximum number of messages to return (ignored if returnAll is true)

Output shape

array

An array of message objects retrieved from the specified conversation. Each item corresponds to a single message record from the Front API.

Examples

Example 1: Fetch the 20 most recent messages from a conversation

Set conversationId to the target conversation, leave returnAll as false (default), and set limit to 20.

Links

Discussion