Step-by-step guide to downloading recordings
Follow these three steps to successfully list, retrieve, and download a recording file.1. List all recordings
First, retrieve a list of available recordings to find therecording_id you need.
List Recordings
2. Retrieve Specific Recording Details
Once you have the ID, fetch its metadata to get therecording_url.
Get Recording Metadata
3. Download the physical file
Always download using the exactrecording_url returned by step 2 rather than hand-constructing a path. The host can vary (for example media.vobiz.ai, recordings.vobiz.ai, or storage.vobiz.ai) and the file extension matches the recording_format (.mp3 or .wav).
Download via cURL
Note: The
-L flag ensures cURL follows any server redirects.Common issues
| Symptom | Cause | Fix |
|---|---|---|
401 Unauthorized | Missing or wrong X-Auth-ID / X-Auth-Token, or trying to open the URL in a plain <audio> tag | Send both auth headers (see below). |
404 Not Found | Wrong recording_id, or the recording was deleted / expired | Re-list recordings and confirm the ID still exists. |
| Empty / truncated file | Redirect not followed | Add the -L flag so cURL follows redirects. |
| Wrong extension | Saved .wav for an MP3 (or vice versa) | Match the file name to recording_format. |
Why Dashboard Playback Fails
Dashboard playback may fail with a 401 Unauthorized error because standard HTML<audio> and <video> tags cannot send custom HTTP headers (like X-Auth-ID).
How to fix this on your platform
1. Server-side proxy
Create an endpoint on your own backend (e.g.,/api/play?id=123) that fetches the file from Vobiz using your tokens and streams the binary data back to the dashboard.