> ## 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 List download

> Get the status and completed URL for a Slack List export.

`slack.getListDownload` retrieves the URL for an export started with `slack.startListDownload`.

```ts automations/get-release-list-export.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { slack } from "automate.ax/slack"

export default automation("Get release List export", () => {
  onDashboardRun({ title: "Get release List export" })

  slack.getListDownload({
    listId: "F012ABCD3EF",
    jobId: "Le012ABCD3E",
    format: "json",
    includeThreads: true,
    includeAttachments: true,
  })
})
```

## Inputs

| Input                | Type              | Required | Default       | Description                              |
| -------------------- | ----------------- | -------- | ------------- | ---------------------------------------- |
| `listId`             | `string`          | Yes      | None          | Exported List.                           |
| `jobId`              | `string`          | Yes      | None          | Job returned by `startListDownload`.     |
| `format`             | `"csv" \| "json"` | No       | `csv`         | Must match the start request.            |
| `includeThreads`     | `boolean`         | No       | Slack default | Must match the start request; JSON only. |
| `includeAttachments` | `boolean`         | No       | Slack default | Must match the start request; JSON only. |

## Output

Returns `{ status: "IN_PROGRESS" }` while Slack is still preparing the export, or `{ status: "COMPLETED"; downloadUrl: string }` when the export is ready. Poll this action with the same inputs until the job is complete; the URL points to the generated Slack export.
