Skip to content

List a call's recordings

GET
/v1/Accounts/{auth_id}/Calls/{call_sid}/Recordings
curl --request GET \
--url https://api.siprtc.io/v1/Accounts/AC000000000000000000/Calls/3f0c2a9e-6a51-4d55-9a57-0d2f6e0f8a11/Recordings \
--header 'Authorization: Basic <credentials>'

Lists the recordings of one call, newest first. It is the same list as GET /Accounts/{auth_id}/Recordings with CallSid set to the call in the path, takes the same filters and paging (Page from 0, PageSize default 50, at most 1000) and returns the same page shape; the page URIs point at Calls/{call_sid}/Recordings.json. Also served at Calls/{call_sid}/Recordings.json. Any user of the account may list recordings; only playback needs a role in access.playback_roles.

auth_id
required
string

Account Auth ID

Example

AC000000000000000000
call_sid
required
string

Call SID (UUID) whose recordings to list

Example

3f0c2a9e-6a51-4d55-9a57-0d2f6e0f8a11
ConferenceSid
string

Only recordings of this conference

Source
string

Only recordings started this way, one of RecordVerb, DialVerb, OutboundAPI, Conference, StartCallRecordingAPI, StartConferenceRecordingAPI, PolicyAlways

Status
string

Only recordings in this status, e.g. in-progress, completed, absent (refused by policy), processing (stored file not yet reported) or deleted

DateCreated
string

Only recordings created on this day (YYYY-MM-DD) or at this instant (RFC 3339, RFC 2822 or unix seconds). DateCreated< and DateCreated> (or DateCreatedBefore / DateCreatedAfter) bound the range instead

IncludeSoftDeleted
boolean

Include deleted recordings (tombstones). Default false

PageSize
integer

Recordings per page, 1 to 1000 (larger values are capped). Default 50

Page
integer

Zero-based page number. Default 0

OK

Media type application/json
object
end

Zero-based index of the last item on this page.

integer
first_page_uri

Relative URI of the first page, with the same filters.

string
meta

The same paging links as absolute URLs, grouped under meta.

object
first_page_url

Absolute URL of the first page.

string
key

Name of the property that holds the items, e.g. recordings.

string
next_page_url

Absolute URL of the next page; null on the last page.

string
page

Zero-based number of this page.

integer
page_size

Items per page.

integer
previous_page_url

Absolute URL of the previous page; null on the first page.

string
url

Absolute URL of this page.

string
next_page_uri

Relative URI of the next page; null on the last page.

string
page

Zero-based number of this page.

integer
page_size

Items per page.

integer
previous_page_uri

Relative URI of the previous page; null on the first page.

string
recordings

The recordings on this page, newest first.

Array<object>
object
account_sid

Account the recording belongs to.

string
api_version

API version that produced the resource.

string
call_sid

Call the recording belongs to (the parent call SID).

string
channels

Number of audio channels: 1 (mono) or 2 (dual).

string
conference_sid

Conference the recording belongs to; null for call recordings.

string
date_created

When the recording was created, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”.

string
date_deleted

When it was deleted, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”. Only on deleted recordings.

string
date_updated

When the recording last changed, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”.

string
deletion_reason

Why it was deleted: api, retention or discarded. Only on deleted recordings.

string
duration

Length of the recording in seconds.

string
encryption_details

How the stored audio is encrypted; null when it is not.

object
encrypted_cek

Rsa-aes: the data key wrapped with RSA-OAEP (SHA-256, MGF1-SHA-256), base64. Never returned for platform-aes.

string
format

Ciphertext format: SPE1 (segmented AES-256-GCM).

string
iv

Base64 nonce prefix of the SPE1 stream.

string
kek_id

Platform-aes: id of the platform key-encryption key.

string
public_key_sid

Rsa-aes: SID of the public key that wrapped the data key.

string
segment_size

Plaintext bytes per SPE1 segment.

integer
type

Rsa-aes (customer_key: data key wrapped with your RSA public key) or platform-aes (platform key).

string
error_code

Why a recording is absent: 64001 blocked by policy never, 64004 policy unavailable, 64005 voicemail blocked; null otherwise.

string
media_url

Where to fetch the audio: this API’s Recordings/{sid}.mp3 or .wav, or for older unencrypted recordings the URL the media server reported.

string
message

“success” when a playback link is included ({recording_sid}.json only).

string
price

Price of the recording; always null (recordings are not charged separately).

string
price_unit

Currency of price.

string
redirect_to

15 minute presigned URL of the stored object ({recording_sid}.json with playback rights only).

string
redirect_to_base64

Redirect_to, base64 encoded.

string
requires_auth

True for platform-encrypted recordings: their audio can only be fetched decrypted from media_url with your credentials.

boolean
sid

Recording SID, a UUID.

string
source

What started the recording: RecordVerb, DialVerb, OutboundAPI, Conference, StartCallRecordingAPI, StartConferenceRecordingAPI or PolicyAlways.

string
start_time

When the recording started, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”.

string
status

In-progress, completed, absent (refused by policy, see error_code), processing (stored file not yet reported) or deleted.

string
uri

Relative URI of this recording.

string
start

Zero-based index of the first item on this page.

integer
uri

Relative URI of this page.

string

Example

{
"end": 49,
"first_page_uri": "/v1/Accounts/AC000000000000000000/Recordings.json?Page=0&PageSize=50",
"meta": {
"first_page_url": "https://api.siprtc.io/v1/Accounts/AC000000000000000000/Recordings.json?Page=0&PageSize=50",
"key": "recordings",
"page": 0,
"page_size": 50,
"url": "https://api.siprtc.io/v1/Accounts/AC000000000000000000/Recordings.json?Page=0&PageSize=50"
},
"page": 0,
"page_size": 50,
"recordings": [
{
"account_sid": "AC000000000000000000",
"api_version": "v1",
"call_sid": "3f0c2a9e-6a51-4d55-9a57-0d2f6e0f8a11",
"channels": "2",
"date_created": "Thu, 26 Nov 2026 10:15:30 +0000",
"date_updated": "Thu, 26 Nov 2026 10:15:30 +0000",
"duration": "42",
"encryption_details": {
"format": "SPE1",
"public_key_sid": "CR0123456789abcdef0123456789abcdef",
"segment_size": 65536,
"type": "rsa-aes"
},
"media_url": "https://api.siprtc.io/v1/Accounts/AC000000000000000000/Recordings/9b1d7e0c-2f4a-4c1e-8f3b-5a6d7c8e9f00.mp3",
"price_unit": "USD",
"requires_auth": false,
"sid": "9b1d7e0c-2f4a-4c1e-8f3b-5a6d7c8e9f00",
"source": "DialVerb",
"start_time": "Thu, 26 Nov 2026 10:15:30 +0000",
"status": "completed",
"uri": "/v1/Accounts/AC000000000000000000/Recordings/9b1d7e0c-2f4a-4c1e-8f3b-5a6d7c8e9f00.json"
}
],
"start": 0,
"uri": "/v1/Accounts/AC000000000000000000/Recordings.json?Page=0&PageSize=50"
}

Invalid paging or filter parameter (code 20001)

Media type application/json
object
code

Error code: 20001 invalid parameter, 20403 forbidden, 20404 not found, 20409 conflict, 20503 unavailable, 64030 under legal hold, 64031 active encryption key.

integer
message

Human readable explanation.

string
more_info

Link to more information; currently always empty.

string
status

HTTP status code of the response.

integer

Example

{
"code": 20404,
"message": "the requested resource was not found",
"more_info": "",
"status": 404
}

Authentication failed: missing or invalid credentials (JSON string from the API gateway)

Media type application/json
string

Example generated

example

The login does not belong to this account (code 20403)

Media type application/json
object
code

Error code: 20001 invalid parameter, 20403 forbidden, 20404 not found, 20409 conflict, 20503 unavailable, 64030 under legal hold, 64031 active encryption key.

integer
message

Human readable explanation.

string
more_info

Link to more information; currently always empty.

string
status

HTTP status code of the response.

integer

Example

{
"code": 20404,
"message": "the requested resource was not found",
"more_info": "",
"status": 404
}

Storage or account lookup unavailable (code 20503)

Media type application/json
object
code

Error code: 20001 invalid parameter, 20403 forbidden, 20404 not found, 20409 conflict, 20503 unavailable, 64030 under legal hold, 64031 active encryption key.

integer
message

Human readable explanation.

string
more_info

Link to more information; currently always empty.

string
status

HTTP status code of the response.

integer

Example

{
"code": 20404,
"message": "the requested resource was not found",
"more_info": "",
"status": 404
}