Skip to content

Recordings

Access to video call recordings. Recordings are stored in WebM format and become available after the call is completed.

Endpoints

MethodEndpointDescriptionMinimum Role
GET/api/v1/calls/:call_id/recordingGet recording for a callattendant

Get Recording

Returns the metadata and download URL for a call's recording.

GET /api/v1/calls/:call_id/recording

Path Parameters

ParameterTypeDescription
call_iduuidCall ID

Request Example

bash
curl -X GET https://voki.avanter.com.br/api/v1/calls/1a2b3c4d-5e6f-7890-abcd-ef1234567890/recording \
  -H "Authorization: Bearer eyJhbGci..." \
  -H "X-Tenant: avanter"

Success Response (200)

json
{
  "data": {
    "id": "r1a2b3c4-d5e6-7890-abcd-ef1234567890",
    "call_id": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
    "format": "webm",
    "duration": 345,
    "file_size": 15234567,
    "download_url": "/api/v1/calls/1a2b3c4d-5e6f-7890-abcd-ef1234567890/recording/download",
    "transcription": {
      "status": "completed",
      "text": "Transcribed call text...",
      "language": "pt-BR"
    },
    "created_at": "2026-02-15T14:36:00Z"
  }
}

Errors

CodeDescription
404Call not found or has no recording
403No permission to access the recording
json
{
  "errors": {
    "detail": "Recording not found"
  }
}

Technical Notes

Recording Format

Recordings are saved in WebM format (VP8/Opus) by the native Elixir/Rust SFU. The file contains:

  • Video: All participants in a composite layout
  • Audio: Mix of all participants

Transcription

If transcription is enabled in the company settings (transcription_enabled: true), the audio is processed by the voki_ai module to generate automatic transcription via Whisper.

Storage

  • Recordings are stored locally on the server
  • Retention period depends on the subscribed plan
  • Recordings cannot be deleted individually (auditability policy)

Auditability Policy

Departments that have calls with recordings cannot be deleted. This ensures traceability and regulatory compliance of recordings.

Documentação da API Voki v4.0