Skip to main content
The Recording API lets you retrieve and manage recordings created during voice calls or conferences. Recordings can be created using the Record a Call API or the Record XML element.

The Recording Object

recording_id
string
Unique identifier for the recording.
call_uuid
string
Identifier of the call that was recorded.
conference_name
string
Name of the conference that was recorded. null for regular calls.
recording_url
string
URL where the recording file can be accessed.
recording_format
string
File format. Values: wav, mp3.
recording_type
string
Type of recording. Values: conference, normal.
recording_duration_ms
string
Duration of the recording in milliseconds.
recording_start_ms
string
Unix epoch timestamp, in milliseconds, when the recording started.
recording_end_ms
string
Unix epoch timestamp, in milliseconds, when the recording ended.
from_number
string
Caller ID of the call that was recorded.
to_number
string
Number that was called on the recorded call.
resource_uri
string
URI of the recording resource.
rounded_recording_duration
integer
Duration rounded to nearest 60-second interval. Recordings under 60s are rounded up.
recording_storage_duration
integer
Time in days the recording has been stored. Increments after 24 hours from add time.
recording_storage_rate
string
Unit cost of storing the recording per month.
monthly_recording_storage_amount
string
Monthly storage cost in the latest billing cycle.
add_time
string
Datetime when the recording was created.

Example Recording Object


Access Original (Pre-Denoised) Recording

When noise cancellation is enabled, the default recording is the denoised version. To access the original recording before noise cancellation was applied, append the type=original query parameter to the media fetch URL. Example:
Pre-denoised recordings are currently available for India region accounts only.

Recording Authentication

By default, recording URLs are publicly accessible. You can enable HTTP Basic Auth to restrict access to your recording media. To enable:
  1. Go to Voice Settings in the Plivo console
  2. Enable HTTP Auth on recordings
When enabled, all GET requests for recording media require HTTP Basic Auth:
  • Username: Your Auth ID
  • Password: Your Auth Token
For recordings created via a subaccount, use the subaccount’s Auth ID and Auth Token.

Retrieve a Recording

Get details of a specific recording by its ID.

Arguments

No arguments required.

Response

add_time
string
Datetime when the recording was created.
api_id
string
Unique identifier for the API request.
call_uuid
string
Identifier of the call that was recorded.
conference_name
string
Name of the conference that was recorded. null for regular calls.
recording_duration_ms
string
Duration of the recording in milliseconds.
recording_format
string
File format. Values: wav, mp3.
recording_id
string
Unique identifier for the recording.
recording_type
string
Type of recording. Values: conference, normal.
recording_url
string
URL where the recording file can be accessed.

List All Recordings

Retrieve all recordings in your account with optional filters.

Arguments

  • If no time filter is used, Plivo defaults to a 7-day search window.
  • add_time allows searching within a 30-day window. Exceeding 30 days returns a 400 error.
  • All timestamps must be in UTC.

Response

api_id
string
Unique identifier for the API request.
meta
object
Pagination metadata: limit (results per page), offset (items skipped), total_count (total matching recordings).
objects
array
Array of recording objects — see The Recording Object.

Delete a Recording

Permanently delete a recording from your account.

Arguments

No arguments required.

Returns

Returns 204 No Content on success. Returns 404 Not Found if the recording doesn’t exist.

Response


Get Recordings by Call UUID

To find all recordings for a specific call, use the call_uuid filter:

Recording Pricing

The recording_storage_rate and monthly_recording_storage_amount fields in the recording object show current storage costs for recordings stored beyond 90 days. See Voice Pricing for complete pricing details.

Transcription API

Manage transcriptions generated from call recordings. You can list, retrieve, create, and delete transcriptions.

API Endpoint

List All Transcriptions

Returns a paginated list of all transcriptions associated with your account.

Retrieve a Transcription

Get details of a specific transcription.

Query Parameters

Create a Transcription

Trigger transcription for a specific recording.

Delete a Transcription

Permanently delete a transcription record.

Response