Skip to main content
command CX Codex GP ChatGPT official · OpenAI

setup-zoom-websockets — Codex command: what it does, how to install

Implements a persistent Zoom WebSocket stream with connection lifecycle, heartbeat, and reconnection logic instead of HTTP webhooks.

Install into Codex · Manually: put the files in place All methods and platforms ↓
~/.codex/prompts/setup-zoom-websockets.md
Open on GitHub

What setup-zoom-websockets does

This command guides the agent through building or fixing a Zoom WebSocket client. The preflight check inspects existing connection logic, verifies firewall or latency constraints, then defines which backend service owns the connection. A plan lists affected files and verification steps before editing starts.

Implementation focuses on lifecycle management: heartbeats, exponential backoff, and clean shutdown handling. Streamed events are normalized into internal project formats, with observability added for dropped packets or disconnects.

If standard HTTP callbacks handle your workload without firewall hurdles, switching to /setup-zoom-webhooks saves operational overhead. Checking reconnect behavior before deploying the stream prevents silent connection drops.

What it helps with

  • replace webhook callbacks with persistent Zoom event streaming
  • add heartbeat and exponential backoff to a socket client
  • normalize incoming Zoom socket events into project contracts
  • track connection drops and delayed messages

Example prompts for the agent

  • Run setup-zoom-websockets to build a persistent Zoom event consumer in our backend
  • Fix the reconnect and heartbeat handling in our Zoom WebSocket client
  • Implement Zoom WebSocket event normalization and observability for connection drops

How to install setup-zoom-websockets

Manually: put the files in place

~/.codex/prompts/setup-zoom-websockets.md

Call it with /prompts:setup-zoom-websockets. Codex marks this format deprecated in favour of skills

Questions about setup-zoom-websockets

How do I install setup-zoom-websockets in Codex?

Save the command file to ~/.codex/prompts/setup-zoom-websockets.md. You can then call the prompt directly during Codex coding sessions.

What does setup-zoom-websockets do?

It directs Codex through auditing, planning, and coding a Zoom WebSocket integration. The workflow ensures heartbeat checks, backoff logic, and event normalization are properly handled.

When should you use webhooks instead of WebSockets?

WebSockets solve strict latency demands or inbound firewall blocks. If standard HTTP delivery meets your requirements, switching to /setup-zoom-webhooks keeps the infrastructure simpler.

Source text

setup-zoom-websockets.md · MIT
---
description: Implement or correct a Zoom WebSocket event stream with connection lifecycle, auth handling, and reconnect behavior.
---

# Setup Zoom WebSockets

Use this command when the integration needs persistent Zoom event delivery instead of standard webhook callbacks.

## Preflight

1. Inspect the repository for existing WebSocket clients, event consumers, connection-state handling, and auth configuration.
2. Confirm WebSockets are justified by latency, delivery model, firewall constraints, or connection semantics.
3. Identify the event types and app configuration required for the stream.
4. Confirm the owning backend or service that will manage connect, heartbeat, reconnect, and shutdown behavior.

## Plan

Before making changes:

- state the WebSocket event stream being implemented
- list the files that will be changed
- state the auth path and connection lifecycle responsibilities
- state how the connection path will be verified

## Commands

1. Add or correct the WebSocket connection setup at the appropriate service layer.
2. Implement authentication, heartbeat, reconnect, backoff, and shutdown handling explicitly.
3. Normalize streamed events into the repo’s existing internal event contract where possible.
4. Add observability for connection state, reconnects, and dropped or delayed events.
5. Keep the first pass focused on one working event stream before layering in broader orchestration.
6. Avoid claiming the stream works until the connection lifecycle and event handling path are both checked.

## Verification

1. Re-read the connection manager, auth code, and event handler logic after changes.
2. Run local build or tests where available.
3. Verify the connect path, reconnect strategy, and event normalization path.
4. State any remaining blocker such as app subscription setup, token path, or network constraints.

## Summary

```text
## Result
- Action: implemented or updated a Zoom WebSocket event stream
- Status: success | partial | failed
- Details: connection path, auth model, event handling, verification run
```

## Next Steps

- Test the stream against real events in a controlled environment.
- If the connection path is healthy but event handling fails, narrow the downstream layer next.
- If HTTP callbacks would be simpler and sufficient, switch to `/setup-zoom-webhooks`.

© Zoom · MIT · openai/plugins

Similar slash commands

All slash commands for Backend and APIs →

From the same set528

The whole set →
zoom-contact-center-android A skill for building on the Zoom Contact Center SDK for Android: chat, video, ZVA, scheduled callback and campaigns. Useful when support lives inside a native app. CX Codex GP ChatGPT ★ 7,604repo stars zoom-cobrowse-sdk Plan and debug Zoom Cobrowse browser sessions, including participant roles, privacy controls, session setup, and reconnection. CX Codex GP ChatGPT ★ 7,604repo stars build-zoom-bot A Claude skill that walks you through designing a bot which joins Zoom meetings, captures media and reacts to live session data. CX Codex GP ChatGPT ★ 7,604repo stars zoom-integration-doctor Runs a read-first diagnostic pass over Zoom integration code and reports architecture, auth, eventing and SDK risks by severity. Useful before you touch an unfamiliar repo. CX Codex GP ChatGPT ★ 7,604repo stars setup-zoom-webhooks This command builds or fixes a Zoom HTTP event receiver, covering endpoint checks, signature verification, and delivery handling. Use it when wiring Zoom events into an app. CX Codex GP ChatGPT ★ 7,604repo stars setup-zoom-oauth A command that reads your repository and wires up a correct Zoom OAuth flow: app type, scopes, redirects and token lifecycle. CX Codex GP ChatGPT ★ 7,604repo stars plan-zoom-product Selects the appropriate Zoom SDK or API surface for your project goals and explains tradeoffs before coding starts. CX Codex GP ChatGPT ★ 7,604repo stars plan-zoom-integration This command turns a Zoom product idea into a delivery plan with architecture, authentication, milestones, and risks. Use it before implementation. CX Codex GP ChatGPT ★ 7,604repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor