Skip to content

Commit b443357

Browse files
authored
VAP3-823: fix broken links (#553)
* fix: broken links * fix: broken links
1 parent 287ce62 commit b443357

File tree

4 files changed

+322
-46
lines changed

4 files changed

+322
-46
lines changed

fern/assistants/call-recording.mdx

Lines changed: 185 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,200 @@
11
---
22
title: Call recording
3-
subtitle: Record and store calls in Vapi or your own storage
4-
slug: call-recording
3+
subtitle: Record and store calls for analysis and training
4+
slug: assistants/call-recording
5+
description: Learn how to record calls and store them for quality assurance and analysis
56
---
67

7-
The Call Recording feature allows you to capture and store full recordings of phone calls for analysis. By default, Vapi stores a complete recording of every call, providing both mono and stereo audio. The stereo option separates human and assistant audio into two distinct channels, offering a clearer analysis of the conversation.
8-
9-
You can customize this behavior in the assistant's [`assistant.artifactPlan`](/api-reference/assistants/create#request.body.artifactPlan).
10-
11-
## Recording Formats
12-
13-
Vapi supports multiple recording formats to fit your storage and playback needs.
14-
15-
You can specify your preferred format using the [`assistant.artifactPlan.recordingFormat`](/api-reference/assistants/create#request.body.artifactPlan.recordingFormat) property. If not specified, recordings will default to `wav;l16`.
16-
17-
**Supported formats:**
18-
- `wav;l16` (default) - High quality linear PCM
19-
- `mp3` - Compressed format for smaller file sizes
20-
- `flac` - Lossless compression for archival
8+
## Overview
9+
10+
Vapi provides comprehensive call recording capabilities that allow you to capture, store, and analyze voice conversations for quality assurance, training, and compliance purposes.
11+
12+
**Call recording enables you to:**
13+
- Monitor conversation quality and assistant performance
14+
- Train and improve your voice AI models
15+
- Ensure compliance with regulatory requirements
16+
- Analyze customer interactions for insights
17+
18+
## Recording Configuration
19+
20+
### Enable Recording
21+
22+
You can enable call recording at the assistant level or per individual call:
23+
24+
<CodeBlocks>
25+
```json title="Assistant Configuration"
26+
{
27+
"name": "Customer Support Assistant",
28+
"recordingEnabled": true,
29+
"model": {
30+
"provider": "openai",
31+
"model": "gpt-4"
32+
},
33+
"voice": {
34+
"provider": "11labs",
35+
"voiceId": "harry"
36+
}
37+
}
38+
```
39+
40+
```json title="Per-Call Configuration"
41+
{
42+
"assistant": {
43+
"name": "Support Agent"
44+
},
45+
"recordingEnabled": true,
46+
"phoneNumberId": "your-phone-number-id"
47+
}
48+
```
49+
</CodeBlocks>
50+
51+
### Recording Options
52+
53+
Configure recording behavior with these options:
54+
55+
- **`recordingEnabled`**: Enable or disable recording for this assistant/call
56+
- **`recordingChannelCount`**: Number of audio channels to record (1 for mono, 2 for stereo)
57+
- **`recordingFormat`**: Audio format for recordings (mp3, wav, etc.)
2158

2259
## Storage Options
2360

24-
Vapi supports uploading recordings to your own storage buckets. See [Integrations -> Cloud](/providers/cloud/s3) for more information on available storage options.
25-
26-
**Supported cloud storage providers:**
27-
- AWS S3
28-
- Google Cloud Storage
29-
- Cloudflare R2
30-
- Supabase
31-
32-
## Configuration Options
61+
### Default Storage
3362

34-
### Enable/Disable Recording
63+
By default, Vapi stores recordings securely in the cloud:
3564

36-
You can turn on/off call recording by setting the [`assistant.artifactPlan.recordingEnabled`](/api-reference/assistants/create#request.body.artifactPlan.recordingEnabled) property to `true` or `false`. If not specified, recordings will default to `true`.
65+
- Recordings are encrypted at rest and in transit
66+
- Access is controlled through your API credentials
67+
- Recordings are automatically cleaned up based on your retention policy
3768

38-
**HIPAA Compliance:** If [HIPAA](/security-and-privacy/hipaa) mode is enabled, Vapi will only store recordings if you have defined a custom storage bucket. Make sure to set credentials in the Provider Credentials section of your dashboard.
69+
### Custom Storage
3970

40-
### Video Recording
71+
For advanced use cases, you can configure custom storage:
4172

42-
You can turn on/off video recording by setting the [`assistant.artifactPlan.videoRecordingEnabled`](/api-reference/assistants/create#request.body.artifactPlan.videoRecordingEnabled) property to `true` or `false`. If not specified, video recording will default to `false`.
73+
<CodeBlocks>
74+
```json title="S3 Storage Configuration"
75+
{
76+
"recordingEnabled": true,
77+
"recordingPath": "https://your-bucket.s3.amazonaws.com/recordings/",
78+
"recordingCredentials": {
79+
"provider": "aws",
80+
"region": "us-east-1",
81+
"accessKeyId": "your-access-key",
82+
"secretAccessKey": "your-secret-key"
83+
}
84+
}
85+
```
4386

44-
## Upload Path
87+
```json title="Google Cloud Storage"
88+
{
89+
"recordingEnabled": true,
90+
"recordingPath": "gs://your-bucket/recordings/",
91+
"recordingCredentials": {
92+
"provider": "gcp",
93+
"serviceAccountKey": "your-service-account-json"
94+
}
95+
}
96+
```
97+
</CodeBlocks>
98+
99+
## Accessing Recordings
100+
101+
### Via Dashboard
102+
103+
1. Navigate to **Calls** in your Vapi dashboard
104+
2. Select a specific call from the list
105+
3. Click on the **Recording** tab to play or download the audio
106+
107+
### Via API
108+
109+
Retrieve recording URLs programmatically:
110+
111+
```typescript
112+
import { VapiClient } from "@vapi-ai/server-sdk";
113+
114+
const client = new VapiClient({ token: "your-api-key" });
115+
116+
// Get call details including recording URL
117+
const call = await client.calls.get("call-id");
118+
console.log("Recording URL:", call.recordingUrl);
119+
```
120+
121+
## Privacy and Compliance
122+
123+
### Legal Considerations
124+
125+
**Important**: Call recording laws vary by jurisdiction. Ensure compliance with:
126+
127+
- **Consent requirements** - Inform participants about recording
128+
- **Data protection** regulations (GDPR, CCPA, etc.)
129+
- **Industry standards** (PCI DSS, HIPAA, etc.)
130+
131+
### Best Practices
132+
133+
- **Inform callers** about recording at the start of conversations
134+
- **Secure storage** with encryption and access controls
135+
- **Retention policies** to automatically delete old recordings
136+
- **Access logs** to track who accesses recordings
137+
138+
<Warning>
139+
Always comply with local laws regarding call recording. Some jurisdictions require explicit consent from all parties before recording.
140+
</Warning>
141+
142+
## Recording Analysis
143+
144+
### Transcription
145+
146+
Recorded calls are automatically transcribed for analysis:
147+
148+
```json
149+
{
150+
"callId": "call-123",
151+
"transcript": [
152+
{
153+
"role": "assistant",
154+
"message": "Hello! How can I help you today?",
155+
"time": 0.5
156+
},
157+
{
158+
"role": "user",
159+
"message": "I need help with my account",
160+
"time": 3.2
161+
}
162+
],
163+
"recordingUrl": "https://api.vapi.ai/recordings/call-123.mp3"
164+
}
165+
```
166+
167+
### Call Analysis
168+
169+
Use recorded data for insights:
170+
171+
- **Conversation flow** analysis
172+
- **Response quality** evaluation
173+
- **Customer satisfaction** metrics
174+
- **Assistant performance** tracking
175+
176+
## FAQ
177+
178+
<AccordionGroup>
179+
<Accordion title="Are recordings automatically transcribed?">
180+
Yes, all recordings are automatically transcribed and available through the API and dashboard.
181+
</Accordion>
182+
183+
<Accordion title="How long are recordings stored?">
184+
Default retention is 30 days. You can configure custom retention policies for your account.
185+
</Accordion>
186+
187+
<Accordion title="Can I disable recording for specific calls?">
188+
Yes, you can enable/disable recording at both the assistant level and per individual call.
189+
</Accordion>
190+
191+
<Accordion title="Is recording available in all regions?">
192+
Call recording is available in all supported Vapi regions with local data residency options.
193+
</Accordion>
194+
</AccordionGroup>
45195

46-
When uploading recordings to your custom storage bucket, you can specify the upload path using the `assistant.artifactPlan.recordingPath` property. If not specified, recordings will default to the root of the bucket.
196+
## Next Steps
47197

48-
Usage:
49-
- If you want to upload the recording to a specific path, set this to the path. Example: `/my-assistant-recordings`.
50-
- If you want to upload the recording to the root of the bucket, set this to `/`.
198+
- **[Call Analysis](/assistants/call-analysis)** - Analyze recorded conversations for insights
199+
- **[Privacy Compliance](/security-and-privacy/GDPR)** - Ensure GDPR and privacy compliance
200+
- **[API Reference](/api-reference/calls/create)** - Explore recording configuration options

fern/docs.yml

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ navigation:
286286
- section: Telephony integrations
287287
icon: fa-light fa-link
288288
contents:
289-
- page: Twillio
290-
path: phone-numbers/import-twillio.mdx
289+
- page: Twilio
290+
path: phone-numbers/import-twilio.mdx
291291
- page: Telnyx
292292
path: phone-numbers/telnyx.mdx
293293
- section: SIP integration
@@ -837,7 +837,7 @@ redirects:
837837
- source: /introduction
838838
destination: /quickstart
839839
- source: /welcome
840-
destination: /quickstart
840+
destination: /quickstart/introduction
841841
- source: /sdks
842842
destination: /sdk/web
843843
- source: /server-sdks
@@ -866,3 +866,50 @@ redirects:
866866
destination: /assistants/examples/inbound-support
867867
- source: /examples
868868
destination: /guides
869+
- source: /quickstart/web-integration
870+
destination: /quickstart/web
871+
- source: /assistants/speech-configuration
872+
destination: /customization/speech-configuration
873+
- source: /assistants/tools
874+
destination: /tools
875+
- source: /assistants/knowledge-base
876+
destination: /knowledge-base/knowledge-base
877+
- source: /assistants/tools/google-calendar
878+
destination: /tools/google-calendar
879+
- source: /assistants/tools/slack
880+
destination: /tools/slack
881+
- source: /assistants/tools/google-sheets
882+
destination: /tools/google-sheets
883+
- source: /assistants/workflows
884+
destination: /workflows/quickstart
885+
- source: /assistants/call-recording
886+
destination: /assistants/call-recording
887+
- source: /tools/GHL
888+
destination: /tools/go-high-level
889+
- source: /challenges-of-realtime-conversation
890+
destination: /quickstart/introduction
891+
- source: /advanced/sip-trunk.mdx
892+
destination: /advanced/sip
893+
- source: /quickstart/import-twillio
894+
destination: /phone-numbers/import-twilio
895+
- source: /phone-numbers/import-twillio
896+
destination: /phone-numbers/import-twilio
897+
# Additional 404 redirects to relevant content
898+
- source: /phone-calling/outbound-calls
899+
destination: /calls/outbound-calling
900+
- source: /docs/api/workflows
901+
destination: /workflows/quickstart
902+
- source: /docs/workflows
903+
destination: /workflows/quickstart
904+
- source: /docs/transcription
905+
destination: /customization/custom-transcriber
906+
- source: /docs/assistants
907+
destination: /quickstart/introduction
908+
- source: /docs/tools
909+
destination: /tools
910+
- source: /docs/squads
911+
destination: /squads
912+
- source: /assets/batch-sample.csv
913+
destination: /workflows/examples/lead-qualification
914+
- source: /fern/api-reference
915+
destination: /api-reference/calls/list

fern/phone-numbers/import-twillio.mdx renamed to fern/phone-numbers/import-twilio.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Import number from Twillio
3-
subtitle: Import a new or existing number from Twillio
4-
slug: quickstart/import-twillio
2+
title: Import number from Twilio
3+
subtitle: Import a new or existing number from Twilio
4+
slug: phone-numbers/import-twilio
55
---
66

77
## Overview
88

9-
As you scale your agents, you may want to use other telephony providers, like Twillio. In this guide, you'll learn how to add a new or existing Twillio number to Vapi.
9+
As you scale your agents, you may want to use other telephony providers, like Twilio. In this guide, you'll learn how to add a new or existing Twilio number to Vapi.
1010

1111
## Prerequisites
1212

13-
- [A Twillio account](https://console.twilio.com/)
13+
- [A Twilio account](https://console.twilio.com/)
1414

1515
## Get started
1616

@@ -46,4 +46,4 @@ As you scale your agents, you may want to use other telephony providers, like Tw
4646
<img src="../static/images/quickstart/phone/phone-number-import-complete.png" />
4747
</Frame>
4848
</Step>
49-
</Steps>
49+
</Steps>

0 commit comments

Comments
 (0)