Skip to content
TriedDocs
Calls

Get unscrubbed call

Reveal the unscrubbed copy of a call kept by Remove call sensitive data.

GEThttps://api.tried.com.au/v2/get-call-unscrubbed/{call_id}

Decrypts and returns the copy of a call's data that was kept before PII was removed. Admins only. Every reveal is written to the audit log. Beyond Retell

Request#

Path parameters#

Parameter Type Required Description
call_id string Yes The call.

Example request#

curl "https://api.tried.com.au/v2/get-call-unscrubbed/call_8d1e0f2a3b4c5d6e7f8a9b0c" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/v2/get-call-unscrubbed/call_8d1e0f2a3b4c5d6e7f8a9b0c", {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const data = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/v2/get-call-unscrubbed/call_8d1e0f2a3b4c5d6e7f8a9b0c",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
data = res.json()

Response#

200 OK

{
  "call_id": "call_8d1e0f2a3b4c5d6e7f8a9b0c",
  "expires_at": 1794902465000,
  "transcript_object": [{ "role": "user", "content": "My name is Sam Lee.", "words": [] }],
  "transcript_with_tool_calls": [{ "role": "user", "content": "My name is Sam Lee.", "ts": 1792310405800 }],
  "collected_dynamic_variables": { "full_name": "Sam Lee" },
  "retell_llm_dynamic_variables": {},
  "call_analysis": { "call_summary": "Sam Lee booked a cleaning.", "in_voicemail": false, "user_sentiment": "Positive", "call_successful": true, "custom_analysis_data": {} }
}

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the calls scope. The caller is not an admin.
404 No unscrubbed copy is kept for this call, or it has expired.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.