# List All Recordings — Zoom

> List all cloud recordings for a user. Returns recording metadata only — to obtain a download link for a given recording, use Get Recording Download Link. See the documentation

- Key: `zoom-list-all-recordings`
- Type: Action (Read-only)
- Version: 0.0.3
- App: Zoom (`zoom`) — https://pipedream.com/apps/zoom.md
- This page (HTML): https://pipedream.com/apps/zoom/actions/list-all-recordings
- Hints: read-only · open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/zoom/actions/list-all-recordings/list-all-recordings.mjs

## Description

List all cloud recordings for a user. Returns recording metadata only — to obtain a download link for a given recording, use **Get Recording Download Link**. [See the documentation](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/recordingsList)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `userId` | `string` | No | The user ID or email address of the user. Use me to retrieve recordings for the current user. |
| `from` | `string` | No | Start date in yyyy-MM-dd UTC format. The maximum date range is a month. Defaults to the current date if not provided. |
| `to` | `string` | No | End date in yyyy-MM-dd UTC format. |
| `mc` | `string` | No | Query metadata of recording if an On-Premise Meeting Connector was used for the meeting. |
| `trash` | `boolean` | No | If true, list recordings from trash. |
| `trashType` | `string` | No | The type of Cloud recording to retrieve from trash. Should be used together with Trash. |
| `max` | `integer` | No | The maximum number of resources to retrieve. |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "zoom",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "zoom-list-all-recordings",
  arguments: {
    userId: "User ID",
    from: "From",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "zoom-list-all-recordings",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoom: { authProvisionId: "apn_xxxxxxx" },
    userId: "User ID",
    from: "From",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "zoom-list-all-recordings",
    "configured_props": {
      "zoom": { "authProvisionId": "apn_xxxxxxx" },
      "userId": "User ID",
      "from": "From"
    }
  }'
```

---

- App: https://pipedream.com/apps/zoom.md · All apps: https://pipedream.com/apps
