# List Registrations — Arlo

> List Arlo registration records with embedded attendee/contact detail, optionally filtered by event. Run List Events first to obtain an eventId. Results are paged (see limit/skip); if the page comes back full, call again with a higher skip…

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

## Description

List Arlo registration records with embedded attendee/contact detail, optionally filtered by event. Run **List Events** first to obtain an `eventId`. Results are paged (see `limit`/`skip`); if the page comes back full, call again with a higher `skip` for more. Use `fields` to shrink the response — registration lists can be very large (thousands of records) and each record is verbose. Example: call with `eventId: "4"`, `limit: 50` to get up to 50 registrations for event 4 with `RegistrationID`, `Status`, `Contact`. [See the documentation](https://developer.arlo.co/doc/api/2012-02-01/auth/resources/registrations#collection-httpget).

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `eventId` | `string` | No | Optional. The integer ID of an event to list registrations for. Run List Events to find the event ID. |
| `status` | `string` | No | Optional. Filter registrations by status. |
| `limit` | `integer` | No | Maximum number of records to return per page. Min 1, max 1000. Defaults to 100. If the response returns exactly this many records, more may exist — call again with a higher skip to page through. |
| `skip` | `integer` | No | Number of records to skip, for paging past the first page. Defaults to 0 (start at the beginning). Set to limit from the previous call to fetch the next page, 2 * limit for the page after that, and so on. |
| `fields` | `string[]` | No | Optional. Return only these top-level fields per registration (e.g. ["RegistrationID", "Status", "Contact"]) instead of the full record. Strongly recommended for large registration lists. |

## 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": "arlo",
      },
    },
  },
)

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: "arlo-list-registrations",
  arguments: {
    eventId: "Event ID",
    status: "Status",
  },
})
```

**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: "arlo-list-registrations",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    arlo: { authProvisionId: "apn_xxxxxxx" },
    eventId: "Event ID",
    status: "Status",
  },
})

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": "arlo-list-registrations",
    "configured_props": {
      "arlo": { "authProvisionId": "apn_xxxxxxx" },
      "eventId": "Event ID",
      "status": "Status"
    }
  }'
```

---

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