# Update Webinar — Zoom

> Update a webinar's topic, start time, or other settings

- Key: `zoom-update-webinar`
- Type: Action (Write)
- Version: 0.1.8
- App: Zoom (`zoom`) — https://pipedream.com/apps/zoom.md
- This page (HTML): https://pipedream.com/apps/zoom/actions/update-webinar
- Hints: destructive · open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/zoom/actions/update-webinar/update-webinar.mjs

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `webinarID` | `string` | Yes | The Zoom Webinar ID of the webinar you'd like to update. |
| `topic` | `string` | No | Webinar topic |
| `type` | `integer` | No | Webinar type: 1 - Instant webinar. 2 - Scheduled webinar. 3 - Recurring webinar with no fixed time. 8 - Recurring webinar with fixed time. |
| `start_time` | `string` | No | Webinar start time. We support two formats for start_time - local time and GMT. To set time as GMT the format should be yyyy-MM-ddTHH:mm:ssZ. To set time using a specific timezone, use yyyy-MM-ddTHH:mm:ss format and specify the timezone ID in the timezone field OR leave it blank and the timezone set on your Zoom account will be used. You can also set the time as UTC as the timezone field. The start_time should only be used for scheduled and / or recurring webinars with fixed time. |
| `duration` | `integer` | No | Webinar duration (minutes). Used for scheduled webinars only. |
| `timezone` | `string` | No | Time zone to format start_time. For example, America/Los_Angeles. For scheduled webinars only. Please reference our time zone list for supported time zones and their formats. |
| `password` | `string` | No | Password to join the webinar. Password may only contain the following characters: [a-z A-Z 0-9 @ - _ *]. Max of 10 characters. |
| `agenda` | `string` | No | Webinar description. |
| `tracking_fields` | `any` | No | Tracking fields. |
| `recurrence` | `object` | No | Recurrence object |
| `settings` | `string` | No | Webinar settings. |

## 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-update-webinar",
  arguments: {
    webinarID: "Webinar ID",
    topic: "Topic",
  },
})
```

**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-update-webinar",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoom: { authProvisionId: "apn_xxxxxxx" },
    webinarID: "Webinar ID",
    topic: "Topic",
  },
})

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-update-webinar",
    "configured_props": {
      "zoom": { "authProvisionId": "apn_xxxxxxx" },
      "webinarID": "Webinar ID",
      "topic": "Topic"
    }
  }'
```

---

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