slack_conversations_history
Retrieve message history from Slack channels or direct messages, automatically converting user IDs to display names, with optional time range and message count limits.
Instructions
Get messages from a channel or DM with user names resolved
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel or DM ID (e.g., D063M4403MW) | |
| limit | No | Messages to fetch (max 100, default 50) | |
| oldest | No | Unix timestamp - get messages after this time (boundary timestamp included) | |
| latest | No | Unix timestamp - get messages before this time (boundary timestamp included) | |
| resolve_users | No | Convert user IDs to names (default true) | |
| include_rich_message_fields | No | Include Slack message attachments, blocks, metadata, files, and reactions when present | |
| include_all_metadata | No | Pass Slack's include_all_metadata option to conversations.history |