Actions3
- Message Actions
Message → Get Many
AI-generatedSummary
Retrieve messages from Sinch Conversations API with optional filtering and pagination.
Inputs
- returnAll — Whether to return all available messages or limit the results to a specified number.
- limit — Maximum number of message items to return when Return All is disabled. Default is 50.
- filters — Optional filters including Channel (SMS, WhatsApp, RCS), Contact ID, Conversation ID, Start Time, End Time, and Page Size.
Output shape
a list of items
Each item represents a single message containing fields like messageId, direction, acceptTime, channel, identity, appId, contactId, conversationId, text, metadata, appMessage, contactMessage, and the full raw response object.
Examples
Example 1: Fetch all messages from a specific conversation
Set Return All to true and specify the Conversation ID under Filters.
Example 2: Get recent SMS messages received after a specific timestamp
Set Return All to false, set Limit to 50, and under Filters select Channel as SMS and provide a Start Time.