get_channel_history
Retrieve channel history from Slack with date filtering, pagination, and optional thread replies to review past messages.
Instructions
Get the history of a channel with pagination support. Limit parameter controls max messages to fetch (default 1000).
Optional date filtering (accepts ISO 8601 dates or Unix timestamps):
oldest: Only messages after this date (e.g., "2024-01-15" or "2024-01-15T10:30:00")
latest: Only messages before this date (e.g., "2024-01-20" or "2024-01-20T18:00:00")
include_threads: If True, also fetch all replies in threads (default False)
Note: For date-only formats, 'oldest' defaults to start of day (00:00:00) and 'latest' to end of day (23:59:59).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| latest | No | ||
| oldest | No | ||
| channel_id | Yes | ||
| include_threads | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |