This route exists for Retell path parity. Tried does not store packet captures: a PCAP needs a capture point on an SBC or media host. For a known call the route returns 404 with a message that points to Get call SIP trace.
Request#
Path parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
call_id |
string | Yes | The call. |
Example request#
curl "https://api.tried.com.au/get-call-pcap/call_8d1e0f2a3b4c5d6e7f8a9b0c" \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/get-call-pcap/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/get-call-pcap/call_8d1e0f2a3b4c5d6e7f8a9b0c",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
data = res.json()Response#
404 Not Found in every case.
{
"status": 404,
"message": "No PCAP is stored for this call. Packet capture requires an SBC or media-host capture (see enterprise-scale.md); use GET /v2/get-call-sip-trace for the SIP signalling log."
}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 |
Always: either the call does not exist or no PCAP is stored. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.