This action has been deprecated and will no longer be available in new workflows.
External DocumentationTo learn more, visit the Slack documentation.
Parameters
| Parameter | Description |
|---|---|
| Query | Search query. |
| Sort | Return matches sorted by either score or timestamp. |
| Sort Direction | Change sort direction to ascending (asc) or descending (desc). |
Example Output
{
"ok": true,
"query": "<string>",
"messages": {
"total": 1,
"pagination": {
"total_count": 0,
"page": 2,
"per_page": 23,
"page_count": 1,
"first": 1,
"last": 2
},
"paging": {
"count": 24,
"total": 2,
"page": 2,
"pages": 2
},
"matches": [
{
"iid": "<string>",
"team": "<string>",
"score": 29,
"channel": {
"id": "<string>",
"is_channel": true,
"is_group": false,
"is_im": false,
"is_mpim": false,
"is_shared": true,
"is_org_shared": false,
"is_ext_shared": true,
"is_private": true,
"name": "<string>",
"pending_shared": [],
"is_pending_ext_shared": false
},
"type": "<string>",
"user": "<string>",
"username": "<string>",
"ts": "<string>",
"blocks": [
{
"type": "<string>",
"block_id": "<string>",
"text": {
"type": "<string>",
"text": "<string>",
"verbatim": false
}
},
{
"type": "<string>",
"block_id": "<string>",
"elements": [
{
"type": "<string>",
"image_url": "<string>",
"alt_text": "<string>"
},
{
"type": "<string>",
"text": "<string>",
"verbatim": false
}
]
}
],
"text": "<string>",
"permalink": "<string>",
"no_reactions": true
}
]
}
}