Skip to content

API reference

The call's transcript

GET /calls/{id}/transcript

The lines in order: speaker ai, lead or agent (the person who took the call), with a name and a time. ?format=text answers plain text, one “Name: text” line per turn. Needs calls:read and recordings:read.

Name In Type Required Notes
id path string (uuid) yes
format query string One of json / text. Default "json".
Terminal window
curl -X GET 'https://v2-api.callview.ai/api/v1/external/calls/e4d3c2b1-a09f-4e8d-9c7b-6a5f4e3d2c1b/transcript' \
-u "$CALLVIEW_KEY_ID:$CALLVIEW_SECRET"

200 The transcript, or plain text with ?format=text

{
"data": {
"call_id": "e4d3c2b1-a09f-4e8d-9c7b-6a5f4e3d2c1b",
"lines": [
{
"speaker": "ai",
"name": "AI",
"text": "Hi, is this Dana? This is Alex from Example Solar.",
"at": "2026-10-06T16:58:15.000Z"
},
{
"speaker": "lead",
"name": "LEAD_NAME",
"text": "Yes, I'd like to hear what it would cost for my house.",
"at": "2026-10-06T16:59:02.000Z"
},
{
"speaker": "agent",
"name": "SDR_NAME",
"text": "Hi Dana, I can help with that.",
"at": "2026-10-06T16:59:12.000Z"
}
],
"livemode": true
}
}
Status Codes
400 invalid_request
401 authentication_failed
403 permission_denied
404 not_found
429 rate_limited, too_many_concurrent_requests
500 internal_error

Part of Calls. Every example sends your key ID and secret as CALLVIEW_KEY_ID and CALLVIEW_SECRET (see Keys and authentication).