Skip to content
TriedDocs
Phone numbers

List telephony operations

Inspect the carrier requests Tried made for your workspace.

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

Returns the carrier operation log for your workspace, newest first. Calls Tried makes to telnyx and to your twilio account to provision numbers are logged here. SIP trunk setup and 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 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=telnyx&limit=10" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const params = new URLSearchParams({ provider: "telnyx", 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": "telnyx", "limit": 10},
)
operations = res.json()

Response#

200 OK

[
  {
    "id": "op_a3c7e1f905b24d68c0e3a7b1",
    "provider": "telnyx",
    "operation": "PATCH /phone_numbers/1293384261075731499",
    "request": {
      "id": "1293384261075731499",
      "connection_id": "2045198837261550032"
    },
    "response": { "status": 200, "id": "1293384261075731499" },
    "mock": false,
    "created_timestamp": 1792396800000
  }
]
Field Type Description
id string Operation ID, op_ plus 24 hex characters.
provider string The provider, for example telnyx or twilio. Other values can appear, such as elevenlabs for voice cloning.
operation string The provider call, for example CreateSIPInboundTrunk, PurchaseNumber, PATCH /phone_numbers/<id> 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 rather than sent.
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.