Skip to content
TriedDocs
Phone numbers

List telephony operations

Inspect the requests Tried sent or simulated to LiveKit SIP, Telnyx and Twilio for your workspace.

GEThttps://api.tried.com.au/telephony/operations

Beyond Retell Returns the provider operation log for your workspace, newest first. In mock mode every simulated request to LiveKit SIP, Telnyx or Twilio is logged here with mock true (number purchases, trunk provisioning, SMS, caller trust enrollment), so you can see what would be sent once keys are set. With real keys, Telnyx and Twilio API calls made for provisioning, messaging and reputation are logged with mock false. Real LiveKit SIP calls and real number purchases are not logged. Passwords are replaced with ***.

Request#

Query parameter Type Required Description
provider string No Only operations for this provider, for example livekit, telnyx or twilio.
limit integer No Most operations to return. Default 100, maximum 500.

Example request#

curl "https://api.tried.com.au/telephony/operations?provider=livekit&limit=10" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const params = new URLSearchParams({ provider: "livekit", limit: "10" });
const res = await fetch(`https://api.tried.com.au/telephony/operations?${params}`, {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const operations = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/telephony/operations",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
    params={"provider": "livekit", "limit": 10},
)
operations = res.json()

Response#

200 OK

[
  {
    "id": "op_a3c7e1f905b24d68c0e3a7b1",
    "provider": "livekit",
    "operation": "CreateSIPDispatchRule",
    "request": {
      "rule": { "type": "individual", "roomPrefix": "call-" },
      "name": "tr-rule +61255501234",
      "trunkIds": ["ST_mock_4f0a9c2e7b1d"]
    },
    "response": { "sipDispatchRuleId": "SDR_mock_8e3b6d1f0a52" },
    "mock": true,
    "created_timestamp": 1792396800000
  }
]
Field Type Description
id string Operation ID, op_ plus 24 hex characters.
provider string The provider, for example livekit, telnyx or twilio. Voice cloning (elevenlabs and other TTS providers) and mock recordings (s3) are logged here too.
operation string The provider call, for example CreateSIPInboundTrunk, PurchaseNumber, POST /messages or POST /v1/Trunks.
request object What was sent, with secrets masked.
response object What came back.
mock boolean true when the operation was simulated.
created_timestamp integer Unix ms.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the admin scope.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.