Start Recording a Call
Begin recording an active call with customizable format, transcription, and callback options.
This endpoint allows you to start recording a call that is currently in progress. You can create multiple recordings on the same call, customize the audio format, enable automated transcription, and configure callbacks to be notified when the recording is complete.
Important: Transcription is available only in English and limited to calls with duration between 500ms and 4 hours, and file size under 2GB.
HTTP Request
https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Record/Path Parameters
auth_idstringRequiredYour Vobiz authentication ID
call_uuidstringRequiredUnique identifier of the call to record
Request Parameters
Request Parameters
| Name | Type | Description |
|---|---|---|
time_limit | integer | Maximum duration of the recording in seconds. Default: 60 |
file_format | string | File format for the recording. Values: "mp3" or "wav". Default: "mp3" |
transcription_type | string | Set to "auto" to enable automated transcription. Turnaround time is under 5 minutes. |
transcription_url | string | URL to receive transcription data via HTTP POST callback. |
callback_url | string | URL invoked when recording ends. Receives recording details via HTTP POST. |
callback_method | string | HTTP method to invoke callback_url. Values: "GET" or "POST". Default: "POST" |
record_channel_type | string | Recording channel type. Values: "mono" or "stereo". Default: "mono" |
Recommendation: Use MP3 format for smaller file sizes. Stereo recording separates caller and callee into left/right channels for easier analysis.
Callback URL Parameters
When the recording ends, these parameters are sent to your callback_url via HTTP POST.
Parameters Sent to callback_url
| Name | Type | Description |
|---|---|---|
api_id | string | The API ID returned by the Record API |
record_url | string | URL where the recorded file can be accessed |
call_uuid | string | The call UUID of the recorded call |
recording_id | string | Unique identifier for this recording |
recording_duration | integer | Duration of the recording in seconds |
recording_duration_ms | integer | Duration of the recording in milliseconds |
recording_start_ms | integer | Start time of recording since epoch in milliseconds |
recording_end_ms | integer | End time of recording since epoch in milliseconds |
Transcription Callback Parameters
When transcription completes, these parameters are sent to your transcription_url via HTTP POST.
Parameters Sent to transcription_url
| Name | Type | Description |
|---|---|---|
transcription_charge | number | Credit deducted for the transcription |
transcription | string | The transcribed text of the recording |
duration | integer | Duration of the recording in seconds |
call_uuid | string | The call UUID that was transcribed |
transcription_rate | number | Rate of transcription per minute |
recording_id | string | Recording ID of the transcribed recording |
error | string | Error message if transcription failed (e.g., "Recording duration too long"). Empty if successful. |
Note: .mp3 files are smaller than .wav files. Consider using MP3 format if you see "Recording file size too large for transcription" errors.
Response
Returns confirmation that recording has started along with a URL to access the recording.
{
"api_id": "uuid-here",
"message": "recording started",
"recording_id": "recording-uuid-here",
"url": "https://recordings.example.com/recording-uuid.mp3"
}Response Fields
api_id - Unique identifier for this API requestmessage - Confirmation messagerecording_id - Unique identifier for this recordingurl - URL where the recording file will be availableExample Request
Basic Recording
{
"time_limit": 120,
"file_format": "mp3"
}Recording with Transcription
{
"time_limit": 60,
"file_format": "mp3",
"callback_url": "https://example.com/recording_callback",
"callback_method": "POST"
}Stereo Recording
curl -X POST https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Record/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"time_limit": 60,
"file_format": "mp3"
}'Use Cases
- •Record customer service calls for quality assurance
- •Create transcripts for compliance and legal documentation
- •Capture agent-customer interactions for training
- •Record specific call segments (e.g., after IVR)
- •Archive important business conversations