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.

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, and the type tells them apart:
404not_found — no such object, or it is not this account's. The two are deliberately indistinguishable.
500internal_error — something failed on our side. For a send, nothing was charged, guaranteed, which is what makes a retry safe.

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 →