Record calls
Start recording a call
Begin recording an active Vobiz call in MP3 or WAV format with optional auto-transcription, multiple concurrent recordings, and callback on completion.
POST
Start recording a call
Transcription is available only in English, for calls between 500ms and 4 hours in duration, and under 2GB in file size.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
auth_id | string | Yes | Your Vobiz authentication ID |
call_uuid | string | Yes | Unique identifier of the call to record |
Request parameters
| Field | Type | Required | Description |
|---|---|---|---|
time_limit | integer | No | Maximum recording duration in seconds. Default: 60. Increase for longer calls (e.g., 300, 900). |
file_format | string | No | Audio format. Values: mp3, wav. Default: mp3 |
transcription_type | string | No | Set to auto to enable automated transcription. Turnaround under 5 minutes. |
transcription_url | string | No | URL to receive transcription data via HTTP POST |
callback_url | string | No | URL invoked when recording ends with recording details |
callback_method | string | No | HTTP method for callback_url. Values: GET, POST. Default: POST |
record_channel_type | string | No | Recording channel type. Values: mono, stereo. Default: mono |
Example requests
Response
200 OK
| Field | Description |
|---|---|
api_id | Unique identifier for this API request |
message | Confirmation that recording has started |
recording_id | Unique identifier for this recording. Save it to stop or correlate this specific recording later. |
url | URL where the recording file will be available once finalized. |
A single call can have multiple recordings running at once. Each
POST starts a new one with its own recording_id and url. Recording stops automatically when time_limit is reached, when you call Stop Recording, or when the call ends.Error responses
| Status | Meaning | How to handle |
|---|---|---|
401 Unauthorized | Missing/incorrect auth headers or a lowercase path. | Use both auth headers and the PascalCase path. |
404 Not Found | The call_uuid is not an active call. | The call must be in-progress; confirm with Retrieve a Live Call. |
Callback URL parameters
When recording ends, these fields are sent to yourcallback_url via HTTP POST:
| Field | 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 since epoch in milliseconds |
recording_end_ms | integer | End time since epoch in milliseconds |
Transcription callback parameters
When transcription completes, these fields are sent to yourtranscription_url:
| Field | Type | Description |
|---|---|---|
transcription_charge | number | Credit deducted for the transcription |
transcription | string | The transcribed text |
duration | integer | Recording duration 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; empty on success |
If you see “Recording file size too large for transcription”, switch to
mp3 format - MP3 files are significantly smaller than WAV.Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Path Parameters
Your account Auth ID
Example:
"MA_XXXXXX"
Example:
"cdr_XXXXXXXXXX"
Body
application/json
Response
200 - application/json
Recording started