Collaborative Apps
Build real-time shared experiences across meeting participants.
Build real-time shared experiences across meeting participants.
Build real-time shared experiences across meeting participants.
Collaborative Zoom Apps let multiple participants interact with the same shared state simultaneously - like Google Docs for Zoom meetings. Examples: shared whiteboards, polls, text editors, dashboards.
| Pattern | Technology | Best For | Complexity | |---------|-----------|----------|------------| | **SDK messaging** | connect() + postMessage() | Simple state (counters, toggles) | Low | | **Server relay** | Socket.io / WebSocket | Polls, games, dashboards | Medium | | **CRDT sync** | Y.js + WebRTC | Text editors, whiteboards | High |
No server needed for state sync:
await zoomSdk.connect();
// Send state change
await zoomSdk.postMessage({
payload: JSON.stringify({ type: 'vote', option: 'A' })
});
// Receive state changes
zoomSdk.addEventListener('onMessage', (event) => {
const data = JSON.parse(event.payload);
applyChange(data);
});Your backend is the source of truth:
const socket = io('https://your-server.com');
const { meetingUUID } = await zoomSdk.getMeetingUUID();
socket.emit('join', { room: meetingUUID });
socket.on('state-update', (state) => renderApp(state));
socket.emit('action', { type: 'vote', option: 'A' });Best for concurrent editing (text, drawings):
import * as Y from 'yjs';
import { WebrtcProvider } from 'y-webrtc';
const { meetingUUID } = await zoomSdk.getMeetingUUID();
const ydoc = new Y.Doc();
const provider = new WebrtcProvider(meetingUUID, ydoc);
// Changes sync automatically via CRDTUse `getMeetingUUID()` as the room identifier for state synchronization:
const { meetingUUID } = await zoomSdk.getMeetingUUID();
// Same UUID for all participants in the same meeting/room
// Different UUID in breakout roomszoom-apps-sdk (Collaborate + Communication) --> oauth (authorization)