Actions11
- Message Actions
- Contact Actions
- Call Actions
- Phone Number Actions
Message → Get Many
AI-generatedSummary
Retrieves multiple SMS messages from a specified Quo phone number, optionally filtering by participant phone number.
Inputs
- phoneNumberId (required) — The ID of the Quo phone number to filter messages by.
- returnAll — Whether to return all results or only up to a given limit.
- limit — Max number of results to return. Required when returnAll is false.
- filters — A collection of filters to apply to the query. Supports filtering by participant phone number (E.164 format).
Output shape
A list of items, each containing the full message data in the JSON body.
When returnAll is false, the default limit is 50 results. The API returns paginated data using a nextPageToken when using returnAll, which is handled internally by the node.
Examples
Example 1: Retrieve the last 25 messages sent from a specific phone number.
phoneNumberId: '123456', returnAll: false, limit: 25
Example 2: Fetch all messages for a conversation with a specific participant.
phoneNumberId: '123456', returnAll: true, filters: { participantPhoneNumber: '+15551234567' }