anthropics/knowledge-work-plugins/zoom-apps-sdk

Claude Code and agent skill by anthropics/knowledge-work-plugins

Trust tier 4
  • vendor
Source check pending

Checking that the SKILL.md file is still in the repository.

Reference skill for Zoom Apps SDK. Use after routing to an in-client app workflow when building web apps that run inside Zoom meetings, webinars, the main client, or Zoom Phone.

Install

npx vskill@latest install anthropics/knowledge-work-plugins/zoom-apps-sdk

SKILL.md

The same SKILL.md was published earlier as anthropics/knowledge-work-plugins/zoom-apps-sdk.

Zoom Apps SDK

Background reference for web apps that run inside the Zoom client. Prefer choose-zoom-approach first, then route here for Layers API, Collaborate Mode, in-client OAuth, and runtime constraints.

Zoom Apps SDK

Build web apps that run inside the Zoom client - meetings, webinars, main client, and Zoom Phone.

Official Documentation: https://developers.zoom.us/docs/zoom-apps/ SDK Reference: https://appssdk.zoom.us/ NPM Package: https://www.npmjs.com/package/@zoom/appssdk

Quick Links

New to Zoom Apps? Follow this path:

  1. [Architecture](concepts/architecture.md) - Frontend/backend pattern, embedded browser, deep linking
  2. [Quick Start](examples/quick-start.md) - Complete working Express + SDK app
  3. [Running Contexts](concepts/running-contexts.md) - Where your app runs (inMeeting, inMainClient, etc.)
  4. [Zoom Apps vs Meeting SDK](concepts/meeting-sdk-vs-zoom-apps.md) - Stop mixing app types
  5. [In-Client OAuth](examples/in-client-oauth.md) - Seamless authorization with PKCE
  6. [API Reference](references/apis.md) - 100+ SDK methods
  7. Integrated Index - see the section below in this file
  8. [5-Minute Runbook](RUNBOOK.md) - Preflight checks before deep debugging

Reference:

  • [API Reference](references/apis.md) - All SDK methods by category
  • [Events Reference](references/events.md) - All SDK event listeners
  • [Layers API](references/layers-api.md) - Immersive and camera mode rendering
  • [OAuth Reference](references/oauth.md) - OAuth flows for Zoom Apps
  • [Zoom Mail](references/zmail-sdk.md) - Mail plugin integration

Having issues?

Building immersive experiences?

Need help with OAuth? See the [zoom-oauth](../oauth/SKILL.md) skill for authentication flows.

SDK Overview

The Zoom Apps SDK (@zoom/appssdk) provides JavaScript APIs for web apps running in Zoom's embedded browser:

  • Context APIs - Get meeting, user, and participant info
  • Meeting Actions - Share app, invite participants, open URLs
  • Authorization - In-Client OAuth with PKCE (no browser redirect)
  • Layers API - Immersive video layouts and camera mode overlays
  • Collaborate Mode - Shared app state across participants
  • App Communication - Message passing between app instances (main client <-> meeting)
  • Media Controls - Virtual backgrounds, camera listing, recording control
  • UI Controls - Expand app, notifications, popout
  • Events - React to meeting state, participants, sharing, and more

Prerequisites

  • Zoom app configured as "Zoom App" type in Marketplace
  • OAuth credentials (Client ID + Secret) with Zoom Apps scopes
  • Web application (Node.js + Express recommended)
  • Your domain whitelisted in Marketplace domain allowlist
  • ngrok or HTTPS tunnel for local development
  • Node.js 18+ (for the backend server)

Quick Start

Option A: NPM (Recommended for frameworks)
bash
npm install @zoom/appssdk
javascript
import zoomSdk from '@zoom/appssdk';
async function init() {
try {
const configResponse = await zoomSdk.config({
capabilities: [
'shareApp',
'getMeetingContext',
'getUserContext',
'openUrl'
],
version: '0.16'
});
console.log('Running context:', configResponse.runningContext);
// 'inMeeting' | 'inMainClient' | 'inWebinar' | 'inImmersive' | ...
const context = await zoomSdk.getMeetingContext();
console.log('Meeting ID:', context.meetingID);
} catch (error) {
console.error('Not running inside Zoom:', error.message);
showDemoMode();
}
}
Option B: CDN (Vanilla JS)
html
<script src="https://appssdk.zoom.us/sdk.js"></script>
<script>
// CRITICAL: Do NOT declare "let zoomSdk" - the SDK defines window.zoomSdk globally
// Using "let zoomSdk = ..." causes: SyntaxError: redeclaration of non-configurable global property
let sdk = window.zoomSdk; // Use a different variable name
async function init() {
try {
const configResponse = await sdk.config({
capabilities: ['shareApp', 'getMeetingContext', 'getUserContext'],
version: '0.16'
});
console.log('Running context:', configResponse.runningContext);
} catch (error) {
console.error('Not running inside Zoom:', error.message);
showDemoMode();
}
}
function showDemoMode() {
document.body.innerHTML = '<h1>Preview Mode</h1><p>Open this app inside Zoom to use.</p>';
}
document.addEventListener('DOMContentLoaded', () => {
init();
setTimeout(() => { if (!sdk) showDemoMode(); }, 3000);
});
</script>

Critical: Global Variable Conflict

The CDN script defines window.zoomSdk globally. Do NOT redeclare it:

javascript
// WRONG - causes SyntaxError in Zoom's embedded browser
let zoomSdk = null;
zoomSdk = window.zoomSdk;
// CORRECT - use different variable name
let sdk = window.zoomSdk;
// ALSO CORRECT - NPM import (no conflict)
import zoomSdk from '@zoom/appssdk';

This only applies to the CDN approach. The NPM import creates a module-scoped variable, no conflict.

Browser Preview / Demo Mode

The SDK only functions inside the Zoom client. When accessed in a regular browser:

  • window.zoomSdk exists but sdk.config() throws an error
  • Always implement try/catch with fallback UI
  • Add timeout (3 seconds) in case SDK hangs

URL Whitelisting (Required)

Your app will NOT load in Zoom unless the domain is whitelisted.

  1. Go to Zoom Marketplace
  2. Open your app -> Feature tab
  3. Under Zoom App, find Add Allow List
  4. Add your domain (e.g., yourdomain.com for production, xxxxx.ngrok.io for dev)

Without this, the Zoom client shows a blank panel with no error message.

OAuth Scopes (Required)

Capabilities require matching OAuth scopes enabled in Marketplace:

CapabilityRequired Scope
getMeetingContextzoomapp:inmeeting
getUserContextzoomapp:inmeeting
shareAppzoomapp:inmeeting
openUrlzoomapp:inmeeting
sendAppInvitationzoomapp:inmeeting
runRenderingContextzoomapp:inmeeting
authorizezoomapp:inmeeting
getMeetingParticipantszoomapp:inmeeting

To add scopes: Marketplace -> Your App -> Scopes tab -> Add required scopes.

Missing scopes = capability fails silently or throws error. Users must re-authorize if you add new scopes.

Running Contexts

Your app runs in different surfaces within Zoom. The configResponse.runningContext tells you where:

ContextSurfaceDescription
inMeetingMeeting sidebarMost common. Full meeting APIs available
inMainClientMain client panelHome tab. No meeting context APIs
inWebinarWebinar sidebarHost/panelist. Meeting + webinar APIs
inImmersiveLayers APIFull-screen custom rendering
inCameraCamera modeVirtual camera overlay
inCollaborateCollaborate modeShared state context
inPhoneZoom PhonePhone call app
inChatTeam ChatChat sidebar

See [Running Contexts](concepts/running-contexts.md) for context-specific behavior and APIs.

SDK Initialization Pattern

Every Zoom App starts with config():

javascript
import zoomSdk from '@zoom/appssdk';
const configResponse = await zoomSdk.config({
capabilities: [
// List ALL APIs you will use
'getMeetingContext',
'getUserContext',
'shareApp',
'openUrl',
'authorize',
'onAuthorized'
],
version: '0.16'
});
// configResponse contains:
// {
// runningContext: 'inMeeting',
// clientVersion: '5.x.x',
// unsupportedApis: [] // APIs not supported in this client version
// }

Rules:

  1. config() MUST be called before any other SDK method
  2. Only capabilities listed in config() are available
  3. Capabilities must match OAuth scopes in Marketplace
  4. Check unsupportedApis for graceful degradation

In-Client OAuth (Summary)

Best UX for authorization - no browser redirect:

javascript
// 1. Get code challenge from your backend
const { codeChallenge, state } = await fetch('/api/auth/challenge').then(r => r.json());
// 2. Trigger in-client authorization
await zoomSdk.authorize({ codeChallenge, state });
// 3. Listen for authorization result
zoomSdk.addEventListener('onAuthorized', async (event) => {
const { code, state } = event;
// 4. Send code to backend for token exchange
await fetch('/api/auth/token', {
method: 'POST',
body: JSON.stringify({ code, state })
});
});

See [In-Client OAuth Guide](examples/in-client-oauth.md) for complete implementation.

Layers API (Summary)

Build immersive video layouts and camera overlays:

javascript
// Start immersive mode - replaces gallery view
await zoomSdk.runRenderingContext({ view: 'immersive' });
// Position participant video feeds
await zoomSdk.drawParticipant({
participantUUID: 'user-uuid',
x: 0, y: 0, width: 640, height: 480, zIndex: 1
});
// Add overlay images
await zoomSdk.drawImage({
imageData: canvas.toDataURL(),
x: 0, y: 0, width: 1280, height: 720, zIndex: 0
});
// Exit immersive mode
await zoomSdk.closeRenderingContext();

See [Layers Immersive](examples/layers-immersive.md) and [Camera Mode](examples/layers-camera.md).

Environment Variables

VariableDescriptionWhere to Find
ZOOM_APP_CLIENT_IDApp client IDMarketplace -> App -> App Credentials
ZOOM_APP_CLIENT_SECRETApp client secretMarketplace -> App -> App Credentials
ZOOM_APP_REDIRECT_URIOAuth redirect URLYour server URL + /auth
SESSION_SECRETCookie signing secretGenerate random string
ZOOM_HOSTZoom host URLhttps://zoom.us (or https://zoomgov.com)

Common APIs

APIDescription
config()Initialize SDK, request capabilities
getMeetingContext()Get meeting ID, topic, status
getUserContext()Get user name, role, participant ID
getRunningContext()Get current running context
getMeetingParticipants()List participants
shareApp()Share app screen with participants
openUrl({ url })Open URL in external browser
sendAppInvitation()Invite users to open your app
authorize()Trigger In-Client OAuth
connect()Connect to other app instances
postMessage()Send message to connected instances
runRenderingContext()Start Layers API (immersive/camera)
expandApp({ action })Expand/collapse app panel
showNotification()Show notification in Zoom

Complete Documentation Library

Core Concepts
  • [Architecture](concepts/architecture.md) - Frontend/backend pattern, embedded browser, deep linking, X-Zoom-App-Context
  • [Running Contexts](concepts/running-contexts.md) - All contexts, context-specific APIs, multi-instance communication
  • [Security](concepts/security.md) - OWASP headers, CSP, cookie security, PKCE, token storage

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 27 Apr 2026.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
11,596
Repository forks
1,344
7-day trend score
47

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/anthropics/knowledge-work-plugins/zoom-apps-sdk/badge)](https://verified-skill.com/skills/anthropics/knowledge-work-plugins/zoom-apps-sdk)

Something wrong with this skill or its page? Tell us.