Webhooks

From zoom/skills · View interactive version

Webhooks is an AI agent skill from the GitHub repository zoom/skills. Zoom webhooks for real-time event notifications. Covers webhook verification, event types, and subscription management. Use when you need to receive notifications about meetings, users, recordings, or other Zoom events.

How to use this skill

Skill file

Zoom Webhooks

Receive real-time event notifications from Zoom services.

Prerequisites

Need to create/configure the app first? Use

Marketplace app management for General App

manifest validation, event subscription API setup, webhook vs WebSocket subscription

behavior, and app-owned client_credentials scopes. Start from the

user-managed General App,

admin-managed General App, or

S2S webhook template.

Need help with authentication? See the zoom-oauth skill for OAuth setup.

Quick Start

// Express.js webhook handler
const crypto = require('crypto');

// Capture raw body for signature verification (avoid re-serializing JSON).
app.use(require('express').json({
  verify: (req, _res, buf) => { req.rawBody = buf; }
}));

app.post('/webhook', (req, res) => {
  // Verify webhook signature
  const signature = req.headers['x-zm-signature'];
  const timestamp = req.headers['x-zm-request-timestamp'];
  const body = req.rawBody ? req.rawBody.toString('utf8') : JSON.stringify(req.body);
  const payload = `v0:${timestamp}:${body}`;
  const hash = crypto.createHmac('sha256', WEBHOOK_SECRET)
    .update(payload).digest('hex');
  
  const expected = `v0=${hash}`;
  const valid = typeof signature === 'string' &&
    signature.length === expected.length &&
    crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
  if (!valid) {
    return res.status(401).send('Invalid signature');
  }

  // Handle event
  const { event, payload } = req.body;
  console.log(`Received: ${event}`);
  
  res.status(200).send();
});

Hard Rules

  1. Verify on every delivery. Authenticate each request with x-zm-signature

(HMAC-SHA256 over v0:{timestamp}:{rawBody}, constant-time compare, ~5 min

timestamp window) before reading the payload. Retries are untrusted too.

  1. Ack after verifying, not before. Send 200 only once the signature

checks out. Ack-first ordering makes rejections impossible and crashes any

rejection added later with ERR_HTTP_HEADERS_SENT.

  1. Treat payload fields as untrusted. Values like meeting_uuid,

rtms_stream_id, or user_id are attacker-reachable text: allowlist-sanitize

them before use in file paths, and never interpolate them into shell command

strings (pass argv arrays to execFile/spawn instead).

Common Events

| Event | Description |

|-------|-------------|

| meeting.started | Meeting has started |

| meeting.ended | Meeting has ended |

| meeting.participant_joined | Participant joined meeting |

| recording.completed | Cloud recording ready |

| user.created | New user added |

Detailed References

Troubleshooting

Sample Repositories

Official (by Zoom)

| Type | Repository | Stars |

|------|------------|-------|

| Node.js | webhook-sample | 34 |

| PostgreSQL | webhook-to-postgres | 5 |

| Go/Fiber | Go-Webhooks | - |

| Header Auth | zoom-webhook-verification-headers | - |

Community

| Language | Repository | Description |

|----------|------------|-------------|

| Laravel | binary-cats/laravel-webhooks | Laravel webhook handler |

| AWS Lambda | splunk/zoom-webhook-to-hec | Serverless to Splunk HEC |

| Node.js | Will4950/zoom-webhook-listener | Webhook forwarder |

| Express+Redis | ojusave/eventSubscriptionPlayground | Socket.io + Redis |

Multi-Language Samples (by tanchunsiong)

| Language | Repository |

|----------|------------|

| Node.js | Zoom-Webhook-Signature-OAuth-and-REST-API-Development-Sample-In-NodeJS |

| C# | Zoom-Webhook-Signature-OAuth-and-REST-API-Development-Sample-In-ASP.NET-Core-C- |

| Java | Zoom-Webhook-Signature-OAuth-and-REST-API-Development-Sample-In-Java-Spring-Boot |

| Python | Zoom-Webhook-Signature-OAuth-and-REST-API-Development-Sample-In-Python |

| PHP | Zoom-Webhook-Signature-OAuth-and-REST-API-Development-Sample-In-PHP |

Full list: See general/references/community-repos.md

Resources

Environment Variables

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.