Back to catalog

Slack · Messaging

Slack Web API / Search messages

Searches for messages matching a query (docs.slack.dev/reference/methods/search.messages). Requires the search:read scope on a USER token -- bot tokens cannot call this method. Slack marks this a legacy method in favor of the Real-time Search API.

Private Gateway connection

Data below comes from the configured private Gateway. Provider activation remains governed by its evidence and policy gates.

unverifiedRequest shape unavailableUnverified
Published API evidence
Public metadata only. Response bodies, credentials, and internal review notes are never displayed.

No verification date is claimed. No response capture is claimed.

Request parameters

  • count query · optional

    Results per page, max 100, default 20.

  • page query · optional

    Page number, default 1.

  • query query · required

    Search query string.

  • sort query · optional

    Order results by score or timestamp. Default score.

  • sort_dir query · optional

    Sort direction, asc or desc. Default desc.

Sign in to run this operation, inspect live eligibility, and see governed execution and audit evidence. Sign in.