|
| 1 | +--- |
| 2 | +title: Call Recording |
| 3 | +subtitle: Record calls and store them in Vapi or your own storage. |
| 4 | +slug: call-recording |
| 5 | +--- |
| 6 | + |
| 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`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan). |
| 10 | + |
| 11 | + |
| 12 | +## Supported Formats |
| 13 | + |
| 14 | +Vapi supports multiple audio formats for call recordings: |
| 15 | +- `wav;l16`: 16-bit linear PCM WAV format, providing high-quality uncompressed audio in mono |
| 16 | +- `mp3`: MP3 compressed audio format, offering good quality with smaller file sizes |
| 17 | + |
| 18 | +You can specify your preferred format using the [`assistant.artifactPlan.recordingFormat`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan.recordingFormat) property. If not specified, recordings will default to `wav;l16`. |
| 19 | + |
| 20 | +<Note> |
| 21 | +At this time, you can only specify one format. |
| 22 | +</Note> |
| 23 | + |
| 24 | +## Custom Storage bucket |
| 25 | + |
| 26 | +Vapi supports uploading recordings to your own storage buckets. See [Integrations -> Cloud](https://docs.vapi.ai/providers/cloud/s3) for more information on available storage options. |
| 27 | + |
| 28 | +## Upload Path |
| 29 | + |
| 30 | +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. |
| 31 | + |
| 32 | +Usage: |
| 33 | +- If you want to upload the recording to a specific path, set this to the path. Example: `/my-assistant-recordings`. |
| 34 | +- If you want to upload the recording to the root of the bucket, set this to `/`. |
| 35 | + |
| 36 | +## Turn On/Off Call Recording |
| 37 | + |
| 38 | +You can turn on/off call recording by setting the [`assistant.artifactPlan.recordingEnabled`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan.recordingEnabled) property to `true` or `false`. If not specified, recordings will default to `true`. |
| 39 | + |
| 40 | +<Note> |
| 41 | +If [HIPAA](https://docs.vapi.ai/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 page in the Dashboard. |
| 42 | +</Note> |
| 43 | + |
| 44 | +## Turn On/Off Video Recording (only for webCall) |
| 45 | + |
| 46 | +You can turn on/off video recording by setting the [`assistant.artifactPlan.videoRecordingEnabled`](https://docs.vapi.ai/api-reference/assistants/create#request.body.artifactPlan.videoRecordingEnabled) property to `true` or `false`. If not specified, video recording will default to `false`. |
| 47 | + |
0 commit comments