Slack · Capability

Slack Conversations API — History

Slack Conversations API — History. 1 operations. Lead operation: Slack Get Conversations History. Self-contained Naftiko capability covering one Slack business surface.

Run with Naftiko SlackHistory

What You Can Do

GET
Getconversationshistory — Slack Get Conversations History
/v1/conversations-history

MCP Tools

slack-get-conversations-history

Slack Get Conversations History

read-only idempotent

Capability Spec

conversations-history.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Slack Conversations API — History
  description: 'Slack Conversations API — History. 1 operations. Lead operation: Slack Get Conversations History. Self-contained
    Naftiko capability covering one Slack business surface.'
  tags:
  - Slack
  - History
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SLACK_API_KEY: SLACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: conversations-history
    baseUri: ''
    description: Slack Conversations API — History business capability. Self-contained, no shared references.
    resources:
    - name: conversations.history
      path: /conversations.history
      operations:
      - name: getconversationshistory
        method: GET
        description: Slack Get Conversations History
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: query
          type: string
          description: 'Authentication token. Requires scope: `conversations:history`'
        - name: channel
          in: query
          type: string
          description: Conversation ID to fetch history for.
        - name: latest
          in: query
          type: number
          description: End of time range of messages to include in results.
        - name: oldest
          in: query
          type: number
          description: Start of time range of messages to include in results.
        - name: inclusive
          in: query
          type: boolean
          description: Include messages with latest or oldest timestamp in results only when either timestamp is specified.
        - name: limit
          in: query
          type: integer
          description: The maximum number of items to return. Fewer than the requested number of items may be returned, even
            if the end of the users list hasn't been reached.
        - name: cursor
          in: query
          type: string
          description: Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute
            returned by a previous request's `response_metadata`. Defaul
  exposes:
  - type: rest
    namespace: conversations-history-rest
    port: 8080
    description: REST adapter for Slack Conversations API — History. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/conversations-history
      name: conversations-history
      description: REST surface for conversations.history.
      operations:
      - method: GET
        name: getconversationshistory
        description: Slack Get Conversations History
        call: conversations-history.getconversationshistory
        with:
          token: rest.token
          channel: rest.channel
          latest: rest.latest
          oldest: rest.oldest
          inclusive: rest.inclusive
          limit: rest.limit
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: conversations-history-mcp
    port: 9090
    transport: http
    description: MCP adapter for Slack Conversations API — History. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: slack-get-conversations-history
      description: Slack Get Conversations History
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversations-history.getconversationshistory
      with:
        token: tools.token
        channel: tools.channel
        latest: tools.latest
        oldest: tools.oldest
        inclusive: tools.inclusive
        limit: tools.limit
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.