NS.inc
03/14/2025, 3:56 PMShubham Bajaj
03/14/2025, 8:26 PMcall.artifact.recordingUrl (mono recording) and call.artifact.stereoRecordingUrl (stereo recording) properties.
To access these recordings for a specific call:
1. Use the /call/{id} GET endpoint with your call ID to retrieve the call details:
GET /call/eec53027-2a59-4c6b-b563-e8fe84bd56ba
2. In the response, look for:
- artifact.recordingUrl - URL to the mono recording
- artifact.stereoRecordingUrl - URL to the stereo recording
3. Once you have these URLs, you can directly download the audio files (they are stored as WAV files with 'audio/wav' content type).
Important notes:
1. Recordings are only available if recordingEnabled was set to true in the assistant's artifactPlan.
2. For HIPAA or PCI-compliant calls, you need to have provided appropriate storage credentials (S3, GCP, Cloudflare, Azure, or Supabase).
3. The audio files are stored as WAV files.
4. The URLs will point to the storage location where VAPI uploaded the recordings.
If you need to process the audio programmatically, you can download it using the URL and then apply your custom processing logic to the audio file.NS.inc
03/14/2025, 8:30 PMNS.inc
03/14/2025, 8:31 PM