Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Client → Search Messages
AI-generatedSummary
Searches messages across chats for a given query.
Inputs
- sessionId (required) — Session identifier used to authenticate the request.
- query (required) — Text to search for within messages.
- searchOptions — Optional pagination or filtering options such as limit and page.
Output shape
array of message objects matching the query (or empty array if none)
Result may be paginated; limit and page parameters affect the slice returned, and a success flag may be present.
Examples
Example 1: Search for up to 10 recent messages containing "invoice" in the selected session.
sessionId set to "work", query="invoice", searchOptions limit=10, page=1