Skip to content

Commit af14809

Browse files
committed
ZAK readme
1 parent cec222f commit af14809

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

  • bot_mixed_audio_stream_realtime_write_to_audio_files/src
  • bot_signed_in_zoom_bots

bot_mixed_audio_stream_realtime_write_to_audio_files/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ wss.on("connection", (socket: WebSocket & { recording_id: string }) => {
2121

2222
// Set the recording id for the socket.
2323
// This is needed to close the audio pipeline when the socket is closed.
24-
if (!msg.data.recording?.id) {
24+
if (!msg?.data?.recording?.id) {
2525
console.log("No recording id found in message");
2626
return;
2727
} else if (!socket.recording_id) {

bot_signed_in_zoom_bots/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This example demonstrates how to implement the Zoom ZAK (Zoom Access Key) token
66

77
The ZAK (Zoom Access Key) token enables bots to join Zoom meetings with authenticated access which enables:
88

9-
- Joining meetings that require signed-in participants
10-
- Starting instant meetings or scheduled meetings before the host joins
11-
- Appearing as a named Zoom user rather than a guest
9+
- Joining meetings that require signed-in participants
10+
- Starting instant meetings or scheduled meetings before the host joins
11+
- Appearing as a named Zoom user rather than a guest
1212

1313
> **📘 For complete documentation, see:** [Zoom Signed-in Bots](https://docs.recall.ai/docs/zoom-signed-in-bots)
1414
@@ -19,7 +19,7 @@ The ZAK (Zoom Access Key) token enables bots to join Zoom meetings with authenti
1919
│ Client │ │ Server │ │ Zoom │ │ Recall │
2020
└────┬─────┘ └────┬─────┘ └────┬─────┘ └─────┬────┘
2121
│ │ │ │
22-
│ 1. GET /zoom/oauth │
22+
│ 1. GET Zoom OAuth Authorization URL
2323
│───────────────▶│ │ │
2424
│ │ │ │
2525
│ Redirect to Zoom OAuth │ │
@@ -31,7 +31,7 @@ The ZAK (Zoom Access Key) token enables bots to join Zoom meetings with authenti
3131
│ Callback with code │ │
3232
│◀────────────────────────────────│ │
3333
│ │ │ │
34-
│ 2. GET /zoom/oauth/callback │ │
34+
│ 2. GET Zoom OAuth callback │ │
3535
│───────────────▶│ │ │
3636
│ │ Exchange for tokens │
3737
│ │───────────────▶│ │
@@ -51,7 +51,7 @@ The ZAK (Zoom Access Key) token enables bots to join Zoom meetings with authenti
5151
│ When bot joins call: │
5252
│ ═════════════════════════════════════════════════ │
5353
│ │ │ │
54-
│ │ 4. GET /zoom/zak
54+
│ │ 4. GET zak_url │
5555
│ │◀─────────────────────────────────│
5656
│ │ │ │
5757
│ │ Refresh access token │
@@ -72,9 +72,9 @@ The ZAK (Zoom Access Key) token enables bots to join Zoom meetings with authenti
7272

7373
## Prerequisites
7474

75-
- [Zoom OAuth App](https://developers.zoom.us/docs/integrations/create/) with scope: `user:read:zak`
76-
- [ngrok](https://ngrok.com/) for exposing your local server
77-
- [Node.js](https://nodejs.org/) 18+
75+
- [Zoom OAuth App](https://developers.zoom.us/docs/integrations/create/) with scope: `user:read:zak`
76+
- [ngrok](https://ngrok.com/) for exposing your local server
77+
- [Node.js](https://nodejs.org/) 18+
7878

7979
## Setup
8080

@@ -154,10 +154,10 @@ curl -X POST "https://RECALL_REGION.recall.ai/api/v1/bot/" \
154154

155155
**Note**:
156156

157-
- Replace `RECALL_REGION`, `RECALL_API_KEY`, and `YOUR_MEETING_URL` with your own
158-
values.
159-
- Replace `YOUR_NGROK_DOMAIN` with your ngrok domain (e.g. `somehash.ngrok-free.app`).
160-
- The bot will join the meeting as a signed-in Zoom user.
157+
- Replace `RECALL_REGION`, `RECALL_API_KEY`, and `YOUR_MEETING_URL` with your own
158+
values.
159+
- Replace `YOUR_NGROK_DOMAIN` with your ngrok domain (e.g. `somehash.ngrok-free.app`).
160+
- The bot will join the meeting as a signed-in Zoom user.
161161

162162
## API Endpoints
163163

0 commit comments

Comments
 (0)