Skip to content

Fetch recording settings

GET
/v1/Accounts/{auth_id}/RecordingSettings/Default
curl --request GET \
--url https://api.siprtc.io/v1/Accounts/AC000000000000000000/RecordingSettings/Default \
--header 'Authorization: Basic <credentials>'

Returns the account’s recording and transcript privacy policy: the voice recording mode the platform enforces at every recording start, chat storage and transcript archiving, encryption of stored recordings and transcripts, retention windows in days, and which roles may play recordings or read transcripts. An account that never saved settings gets the defaults (voice.mode app_controlled, dual channels, voicemail allowed, chat stored, no encryption, everything kept, playback for tenant, admin, supervisor and agent) with date_created and date_updated null. Any user of the account may read it; a sub-account reads its parent account’s settings.

auth_id
required
string

Account Auth ID (AC followed by the account id) the request acts on

Example

AC000000000000000000

OK

Media type application/json
object
access

Who may play recordings and read transcripts.

object
playback_roles

Roles that may play recordings and read transcripts: tenant, admin, supervisor, agent, member, qa_agent.

Array<string>
account_sid

Account the settings apply to (a sub-account reads its parent’s).

string
chat

Chat storage and transcript archiving.

object
archive_after_idle_hours

Hours of inactivity after which a conversation is archived or redacted, 1 to 720.

integer
archive_transcripts

Whether idle conversations are archived as Transcripts.

boolean
storage

Chat message bodies: store, or never_store (blanked once the conversation is idle).

string
date_created

When the settings were first saved, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”; null for defaults never saved.

string
date_updated

When the settings were last saved, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”; null for defaults never saved.

string
encryption_enabled

Whether new recordings and transcripts are encrypted.

boolean
encryption_key_sid

Public key SID used for customer_key encryption; null otherwise.

string
encryption_type

None, platform or customer_key.

string
friendly_name

Name of the settings.

string
retention

How long content is kept, in days.

object
chat_messages_days

Days chat message bodies are kept; 0 keeps them forever.

integer
recordings_days

Days call recordings are kept; 0 keeps them forever.

integer
transcripts_days

Days archived transcripts are kept; 0 keeps them forever.

integer
voicemail_days

Days voicemail () recordings are kept; 0 keeps them forever.

integer
url

Absolute URL of the settings.

string
voice

Call recording policy, enforced at every recording start.

object
channels

Channels of policy-started recordings: dual or mono.

string
mode

When calls are recorded: app_controlled, always, on_demand or never.

string
voicemail

Whether may record: allowed or blocked.

string

Example

{
"account_sid": "AC000000000000000000",
"chat": {
"archive_after_idle_hours": 24,
"archive_transcripts": false,
"storage": "store"
},
"encryption_enabled": false,
"encryption_type": "none",
"friendly_name": "Default",
"retention": {
"chat_messages_days": 0,
"recordings_days": 0,
"transcripts_days": 0,
"voicemail_days": 0
},
"url": "https://api.siprtc.io/v1/Accounts/AC000000000000000000/RecordingSettings/Default",
"voice": {
"channels": "dual",
"mode": "app_controlled",
"voicemail": "allowed"
}
}

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
}

Settings store 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
}