> ## 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.

# List inbox

> List inbox, unread, or sent records for the connected account.

<Warning>
  Reddit connections are temporarily unavailable while Automate.ax awaits
  Reddit's approval for commercial Data API access. You can connect a Reddit
  account after the integration is approved and enabled.
</Warning>

`reddit.listInbox` list inbox, unread, or sent records for the connected account.

```ts automations/reddit-list-inbox.automation.ts theme={null}
import { automation } from "automate.ax"
import { reddit } from "automate.ax/reddit"

export default automation("List inbox", () => {
  const result = reddit.listInbox({ view: "unread", limit: 25 })
})
```

## Inputs

Set `view` to `inbox`, `unread`, or `sent`; it defaults to `inbox`. `limit` defaults to 25 and is capped at 100. Pass `after` to continue. Compatible signals are accepted. Use the optional second argument `{ account }` to select a named Reddit binding.

## Output

Returns `messages` and `pageInfo`. Private-message fullnames begin with `t4_`; comment notifications use `t1_` and set `wasComment` to `true`. Both retain their Reddit context when Reddit provides it.
