Skip to main content
Glama

update_webhook

Modify existing webhooks in the Zoom API MCP Server by updating URL, event types, authorization header, description, or status for streamlined event management.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authorization_headerNoAuthorization header
descriptionNoWebhook description
event_typesNoEvent types to subscribe to
statusNoWebhook status
urlNoWebhook URL
webhook_idYesThe webhook ID

Implementation Reference

  • Handler function that updates a webhook by sending a PATCH request to the Zoom API endpoint `/webhooks/${webhook_id}` with the provided data.
    handler: async ({ webhook_id, ...webhookData }) => {
      try {
        const response = await zoomApi.patch(`/webhooks/${webhook_id}`, webhookData);
        return handleApiResponse(response);
      } catch (error) {
        return handleApiError(error);
      }
    }
  • Zod schema defining the input parameters for the update_webhook tool, including webhook_id (required) and optional fields like url, event_types, etc.
    schema: {
      webhook_id: z.string().describe("The webhook ID"),
      url: z.string().url().optional().describe("Webhook URL"),
      event_types: z.array(z.string()).optional().describe("Event types to subscribe to"),
      authorization_header: z.string().optional().describe("Authorization header"),
      description: z.string().optional().describe("Webhook description"),
      status: z.enum(["active", "inactive"]).optional().describe("Webhook status")
    },
  • src/server.js:55-55 (registration)
    Registration of the webhooksTools array, which includes the update_webhook tool, into the MCP server via the registerTools function.
    registerTools(webhooksTools);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mattcoatsworth/zoom-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server