Skip to main content

GET /calls/{callid}

Get one call with its legs

One call's full journey: the summary fields, plus a legs array describing what happened inside it.

Scopereports:read
Role permissionCall reports
CostFree

A call that rang a queue, was answered and was transferred is one call and several legs. Follow a transfer by chaining on each leg's bridgedFromCallId.

Path parameters​

NameTypeRequiredExampleDescription
callidstringyes1754489201.884213The call id from call history, reports or a call webhook — a unix timestamp, a dot, and a sequence number. A malformed id is a 400 that names the expected shape, not a 404.

Responses​

200​

The call.

A transferred inbound call — one call, two legs:

{
"data": {
"id": "1754489201.884213",
"direction": "inbound",
"status": "answered",
"statusCode": 2,
"callerType": "external",
"callerName": "ACME ROOFING",
"callerNumber": "13475550123",
"calledType": "user",
"calledName": "Dana Spencer",
"calledNumber": "204",
"dialledNumber": "12125550188",
"startTime": "2026-08-11T13:20:01Z",
"endTime": "2026-08-11T13:24:00Z",
"durationSeconds": 239,
"talkTimeSeconds": 220,
"transferred": 1,
"abandoned": false,
"recorded": true,
"legs": [
{
"uniqueId": "1754489201.884213",
"callId": "1754489201.884213",
"startTime": "2026-08-11T13:20:01Z",
"endTime": "2026-08-11T13:21:37Z",
"durationSeconds": 96,
"talkTimeSeconds": 81,
"fromType": "external",
"from": "13475550123",
"fromName": "ACME ROOFING",
"toType": "user",
"to": "204",
"hasRecording": true
},
{
"uniqueId": "1754489288.884219",
"callId": "1754489288.884219",
"bridgedFromCallId": "1754489201.884213",
"startTime": "2026-08-11T13:21:28Z",
"endTime": "2026-08-11T13:23:50Z",
"durationSeconds": 142,
"talkTimeSeconds": 139,
"fromType": "user",
"from": "204",
"fromName": "Dana Spencer",
"toType": "user",
"to": "301",
"hasRecording": true
}
]
}
}

Errors​

StatusMeaning
400invalid_request — a missing or malformed field, an unknown enum value, or an unknown field in the body. Nothing was charged.
401unauthenticated — no credential, or one that is invalid, revoked or expired. The WWW-Authenticate header names the scope the endpoint wanted.
403Two different failures share this status; the type field tells them apart — insufficient_scope (the credential lacks the scope) or permission_denied (the scope is fine, but the user's role lacks the permission).
404not_found — no such object, or it is not this account's. The two are deliberately indistinguishable.
500internal_error — something failed on our side, not with your request. Safe to retry.

See Errors for the full catalog and what to do about each.

Example​

curl -X GET 'https://api.account.telebroad.com/api/public/v1/calls/1754489201.884213' \
-H "Authorization: Bearer $TB_KEY"

Try it in the playground →