conversations_history
Retrieve message history from Slack channels, direct messages, or threads with pagination and filtering options to access past conversations.
Instructions
Retrieves message history from a Slack channel, DM, or thread. Supports pagination and filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accessToken | Yes | Slack OAuth token (xoxp-... or xoxb-...) | |
| channel_id | Yes | Channel ID (e.g., C1234567890), channel name (#general), or DM (@username) | |
| limit | No | Time range (1d, 7d, 1m, 90d) or message count (e.g., 100) | |
| cursor | No | Pagination cursor from previous response | |
| include_activity_messages | No | Include join/leave system messages (default: false) |
Input Schema (JSON Schema)
{
"properties": {
"accessToken": {
"description": "Slack OAuth token (xoxp-... or xoxb-...)",
"type": "string"
},
"channel_id": {
"description": "Channel ID (e.g., C1234567890), channel name (#general), or DM (@username)",
"type": "string"
},
"cursor": {
"description": "Pagination cursor from previous response",
"type": "string"
},
"include_activity_messages": {
"description": "Include join/leave system messages (default: false)",
"type": "string"
},
"limit": {
"description": "Time range (1d, 7d, 1m, 90d) or message count (e.g., 100)",
"type": "string"
}
},
"required": [
"accessToken",
"channel_id"
],
"type": "object"
}