Skip to content

List transcripts

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

Lists the account’s archived conversation transcripts, newest first. A transcript is written when a conversation (webchat, WhatsApp, SMS, Messenger and other chat channels) has been idle for Chat.ArchiveAfterIdleHours and RecordingSettings has Chat.ArchiveTranscripts on; it is stored encrypted like recordings. Deleted transcripts are tombstones hidden unless IncludeSoftDeleted is true. Items carry metadata only; the text is at media_url ({transcript_sid}.json). Paging: Page is zero-based, PageSize defaults to 50 (at most 1000), and first_page_uri / next_page_uri / previous_page_uri and meta carry the paging links. Also served at Transcripts.json. The account is the one your credentials authenticate; a sub-account login (agent, supervisor, member) acts on its parent account. Any user of the account may list.

auth_id
required
string

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

Example

AC000000000000000000
ConversationSid
string

Only transcripts of this conversation

Channel
string

Only transcripts of this channel, e.g. webchat, whatsapp, sms, facebook

DateCreated
string

Only transcripts created on this day (YYYY-MM-DD) or at this instant (RFC 3339, RFC 2822 or unix seconds)

DateCreated<
string

Only transcripts created at or before this date (a bare date covers the whole day). DateCreatedBefore is accepted too

DateCreated>
string

Only transcripts created at or after this date. DateCreatedAfter is accepted too

IncludeSoftDeleted
boolean

Include deleted transcripts (tombstones). Default false

PageSize
integer

Items 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
start

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

integer
transcripts

The transcripts on this page, newest first.

Array<object>
object
account_sid

Account the transcript belongs to.

string
call_sid

Call the conversation belongs to, when it was a call.

string
channel

Channel of the conversation, e.g. webchat, whatsapp, sms, facebook.

string
conversation_sid

Conversation the transcript archives.

string
date_created

When the transcript was archived, 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 transcripts.

string
date_updated

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

string
deletion_reason

Why it was deleted: api or retention. Only on deleted transcripts.

string
encryption_details

How the stored transcript 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
first_message_at

Time of the first message, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”.

string
last_message_at

Time of the last message, RFC 2822 date, e.g. “Thu, 26 Nov 2026 10:15:30 +0000”.

string
media_url

Where to fetch the transcript text (Transcripts/{sid}.json).

string
message_count

Number of messages in the transcript.

integer
part

1 for the first transcript of a conversation; higher numbers are continuations written when the earlier transcript could not be rewritten (customer_key encryption, or deleted).

integer
participants

Addresses (numbers, user ids) that took part.

Array<string>
redirect_to

Customer_key content fetch only: 15 minute presigned URL of the ciphertext.

string
redirect_to_base64

Redirect_to, base64 encoded.

string
requires_auth

True for platform-encrypted transcripts, which the API decrypts at media_url.

boolean
sid

Transcript SID: GT followed by 32 hex digits.

string
status

Completed, or deleted for a tombstone.

string
url

Absolute URL of this transcript.

string
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,
"start": 0,
"transcripts": [
{
"account_sid": "AC000000000000000000",
"channel": "webchat",
"date_created": "Thu, 26 Nov 2026 10:15:30 +0000",
"date_updated": "Thu, 26 Nov 2026 10:15:30 +0000",
"encryption_details": {
"format": "SPE1",
"public_key_sid": "CR0123456789abcdef0123456789abcdef",
"segment_size": 65536,
"type": "rsa-aes"
},
"media_url": "https://api.siprtc.io/v1/Accounts/AC000000000000000000/Transcripts/GT0123456789abcdef0123456789abcdef.json",
"message_count": 12,
"part": 1,
"requires_auth": false,
"sid": "GT0123456789abcdef0123456789abcdef",
"status": "completed",
"url": "https://api.siprtc.io/v1/Accounts/AC000000000000000000/Transcripts/GT0123456789abcdef0123456789abcdef"
}
],
"uri": "/v1/Accounts/AC000000000000000000/Recordings.json?Page=0&PageSize=50"
}

Invalid parameter; the message names it (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
}