> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get thread replies

> Read a cursor-paginated Slack message thread.

`getThreadReplies` reads a parent message and its thread replies. Slack identifies
the thread with the parent message's `timestamp`, exposed here as
`threadTimestamp`.

## Example

```ts automations/read-slack-thread.automation.ts theme={null}
import { automation } from "automate.ax"
import { getThreadReplies } from "automate.ax/slack"

export default automation("Read Slack thread", () => {
  getThreadReplies({
    conversationId: "C01234567",
    threadTimestamp: "1700000000.000001",
    limit: 15,
  })
})
```

## Inputs

| Input               | Type                                             | Required | Default         | Description                               |
| ------------------- | ------------------------------------------------ | -------- | --------------- | ----------------------------------------- |
| `conversationId`    | `string`                                         | Yes      | —               | Conversation containing the thread.       |
| `threadTimestamp`   | `string`                                         | Yes      | —               | Timestamp of the thread's parent message. |
| `cursor`            | `string`                                         | No       | First page      | Cursor from a preceding page.             |
| `limit`             | `number`                                         | No       | Slack default   | Page size from 1 to 15.                   |
| `oldest` / `latest` | `string`                                         | No       | Unbounded       | Slack timestamp bounds.                   |
| `inclusive`         | `boolean`                                        | No       | Slack default   | Includes exact timestamp bounds.          |
| `account`           | `string \| IntegrationAccountReference<"slack">` | No       | Project default | Slack workspace binding.                  |

## Output

Returns `messages: SlackMessage[]`, `hasMore`, and pagination
`responseMetadata.nextCursor`. Preserve `conversationId` together with message
timestamps: timestamps are only meaningful as message identifiers inside their
conversation.
