Skip to content
TriedDocs
Calls

Get call SIP trace

Read the SIP signalling log of a phone call.

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

Returns the livekit-sip log lines for a call. The trace is captured when the call ends, from the log file at TRIED_SIP_LOG_PATH; if it was not captured yet and the call has ended, the request tries once more. At most the last 2000 lines are kept. Beyond Retell

Request#

Path parameters#

Parameter Type Required Description
call_id string Yes A phone call.

Example request#

curl "https://api.tried.com.au/v2/get-call-sip-trace/call_8d1e0f2a3b4c5d6e7f8a9b0c" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/v2/get-call-sip-trace/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-sip-trace/call_8d1e0f2a3b4c5d6e7f8a9b0c",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
data = res.json()

Response#

200 OK

{
  "call_id": "call_8d1e0f2a3b4c5d6e7f8a9b0c",
  "format": "livekit-sip-log",
  "trace": "2026-10-19T02:00:00Z INFO sip ... INVITE sip:+61412345678@... \n..."
}

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.
404 No call with this ID, or no SIP trace is stored (for example TRIED_SIP_LOG_PATH is not set on the server).
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.