OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

System → Search

AI-generated

Summary

Searches messages across OpenWA sessions for required text and returns matching messages. Optional filters can narrow results by chat, time range, direction, sender, session, or message type, and pagination controls cap and skip results.

Inputs

  • Query (required) — Text to search for.
  • Filters — Optional filters: Chat ID, session, direction, sender, message type, and inclusive Date From/Date To bounds. Limit sets the maximum results (default 50); Offset skips that many results (default 0).

Output shape

A list of matching message items.

Search is cross-session unless Session Name or ID is set. Date bounds are converted to epoch milliseconds for the API. Results are emitted one item per row for the current node version; older saved node versions may keep the result array on a single item.

Links

Discussion