Zoom Apps SDK
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.
- Skill ID
- anthropics/knowledge-work-plugins/zoom-apps-sdk
- Publisher
- anthropics
- Repository
- knowledge-work-plugins
- Installs
- 0
- Files
- 24
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
anthropics/knowledge-work-plugins/zoom-apps-sdkInstalls these files- RUNBOOK.md
- SKILL.md
- concepts/architecture.md
- concepts/meeting-sdk-vs-zoom-apps.md
- concepts/running-contexts.md
- concepts/security.md
- examples/app-communication.md
- examples/breakout-rooms.md
- examples/collaborate-mode.md
- examples/guest-mode.md
- examples/in-client-oauth.md
- examples/layers-camera.md
- examples/layers-immersive.md
- examples/quick-start.md
- references/apis.md
- references/environment-variables.md
- references/events.md
- references/layers-api.md
- references/oauth.md
- references/zmail-sdk.md
- troubleshooting/common-issues.md
- troubleshooting/debugging.md
- troubleshooting/forum-top-questions.md
- troubleshooting/migration.md
What this skill tells the agent
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:
- [Architecture](concepts/architecture.md) - Frontend/backend pattern, embedded browser, deep linking
- [Quick Start](examples/quick-start.md) - Complete working Express + SDK app
- [Running Contexts](concepts/running-contexts.md) - Where your app runs (inMeeting, inMainClient, etc.)
- [Zoom Apps vs Meeting SDK](concepts/meeting-sdk-vs-zoom-apps.md) - Stop mixing app types
- [In-Client OAuth](examples/in-client-oauth.md) - Seamless authorization with PKCE
- [API Reference](references/apis.md) - 100+ SDK methods
- Integrated Index - see the section below in this file
- [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?
- App won't load in Zoom → Check Domain Allowlist below
- SDK errors → Common Issues
- Local dev setup → Debugging Guide
- Version upgrade → Migration Guide
- Forum-derived FAQs → Forum Top Questions
Building immersive experiences?
- Layers Immersive Mode - Custom video layouts
- Camera Mode - Virtual camera overlays
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)
npm install @zoom/appssdkimport 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)
<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:
// 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.zoomSdkexists butsdk.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.
- Go to Zoom Marketplace
- Open your app -> Feature tab
- Under Zoom App, find Add Allow List
- Add your domain (e.g.,
yourdomain.comfor production,xxxxx.ngrok.iofor 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:
| Capability | Required Scope |
|---|---|
getMeetingContext | zoomapp:inmeeting |
getUserContext | zoomapp:inmeeting |
shareApp | zoomapp:inmeeting |
openUrl | zoomapp:inmeeting |
sendAppInvitation | zoomapp:inmeeting |
runRenderingContext | zoomapp:inmeeting |
authorize | zoomapp:inmeeting |
getMeetingParticipants | zoomapp: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:
| Context | Surface | Description |
|---|---|---|
inMeeting | Meeting sidebar | Most common. Full meeting APIs available |
inMainClient | Main client panel | Home tab. No meeting context APIs |
inWebinar | Webinar sidebar | Host/panelist. Meeting + webinar APIs |
inImmersive | Layers API | Full-screen custom rendering |
inCamera | Camera mode | Virtual camera overlay |
inCollaborate | Collaborate mode | Shared state context |
inPhone | Zoom Phone | Phone call app |
inChat | Team Chat | Chat sidebar |
See [Running Contexts](concepts/running-contexts.md) for context-specific behavior and APIs.
SDK Initialization Pattern
Every Zoom App starts with config():
import zoomSdk from '@zoom/appssdk';
const configResponse = await zoomSdk.config({
capabilities: [More from anthropics
Use this skill in a project
Open any RiverX project, search the Skills panel for anthropics/knowledge-work-plugins/zoom-apps-sdk, and install it in one click.
