Get a call log
Returns one call log by the callLogId carried in webhook payloads and list responses, including the transcript when one is currently stored. transcriptionStatus reports whether transcript text is retrievable right now: a transcript removed by retention or explicit deletion reads unavailable even though the transcription itself once finished. Requires the calls scope.
GET
/customer/phone-systems/{phoneSystemId}/call-logs/{callLogId}Authorization
X-API-KeyAPI key · headerrequiredAPI key (sk_phones_* prefix) for programmatic access
Path parameters
phoneSystemIdstring<uuid>requiredPhone system identifier, discoverable via the accessible phone systems operation.
callLogIdstring<uuid>requiredCall log identifier from a webhook payload or a list response.
Responses
200The call log, with its transcript when transcription completed.
callSidstringrequiredCall identifier, as delivered in webhook payloads.
createdAtstring<date-time>requiredWhen the row was created; lists are ordered by this, descending.
directionstringrequiredCall direction.
Allowed:
inboundoutboundinternaldurationinteger | anyrequiredCall duration in seconds.
Show propertiesHide properties
Any of:
integer
integerany
anyendTimestring<date-time> | anyrequiredWhen the call ended.
Show propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anyfromstringrequiredCalling party.
fromNamestring | nullrequiredCaller name, when known.
idstring<uuid>requiredCall log identifier — the callLogId carried by webhook payloads.
outcomestring | nullrequiredCall outcome (answered, missed, abandoned, voicemail, transferred, …).
parentCallSidstring | nullrequiredParent call identifier when this row is a transferred or forwarded leg.
phoneSystemIdstring<uuid>requiredPhone system this call belongs to.
recordingDurationinteger | anyrequiredRecording duration in seconds.
Show propertiesHide properties
Any of:
integer
integerany
anyrecordingSidstring | nullrequiredRecording identifier when the call was recorded — fetch via the recordings operations.
startTimestring<date-time> | anyrequiredWhen the call started.
Show propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anystatusstringrequiredCall status (completed, no-answer, busy, failed, canceled).
tostringrequiredCalled party.
transcribedTextstring | nullrequiredCall transcript text, or null when no transcript is currently stored.
transcriptionStatusstringrequiredWhether transcript text is retrievable right now: completed, processing (keep polling), failed, or unavailable. A transcript removed by retention or explicit deletion reads unavailable even though the transcription itself once finished.
Allowed:
completedprocessingfailedunavailable400Validation failure: callLogId is not a UUID.
codestringrequiredStable machine identifier to branch on.
correlationIdstringrequiredRequest identifier to quote to support.
detailstringrequiredUser-safe explanation. Display it if you must; never match on it.
errorsobject[]Field-level validation problems. Present on validation failures.
Show propertiesHide properties
Array of
objectcodestringrequiredPer-field machine code (REQUIRED, TOO_SMALL, …).
detailstringrequiredHuman-readable description of the field problem.
pointerstringrequiredJSON Pointer to the offending request field.
paramsobjectExtra primitive detail about the condition, such as a limit that was hit.
retry_afterintegerSeconds to wait before retrying, when a meaningful delay exists.
retryablebooleanrequiredWhether this condition is transient. Derived from code.
statusintegerrequiredMirrors the HTTP status code.
titlestringrequiredShort human summary of the problem type.
typestringrequiredURL identifying the problem type. An identifier to match, not a link.
401The API key is missing, malformed, expired, or revoked.
codestringrequiredStable machine identifier to branch on.
correlationIdstringrequiredRequest identifier to quote to support.
detailstringrequiredUser-safe explanation. Display it if you must; never match on it.
errorsobject[]Field-level validation problems. Present on validation failures.
Show propertiesHide properties
Array of
objectcodestringrequiredPer-field machine code (REQUIRED, TOO_SMALL, …).
detailstringrequiredHuman-readable description of the field problem.
pointerstringrequiredJSON Pointer to the offending request field.
paramsobjectExtra primitive detail about the condition, such as a limit that was hit.
retry_afterintegerSeconds to wait before retrying, when a meaningful delay exists.
retryablebooleanrequiredWhether this condition is transient. Derived from code.
statusintegerrequiredMirrors the HTTP status code.
titlestringrequiredShort human summary of the problem type.
typestringrequiredURL identifying the problem type. An identifier to match, not a link.
403The key lacks the calls:read scope, or is not a tenant API key.
codestringrequiredStable machine identifier to branch on.
correlationIdstringrequiredRequest identifier to quote to support.
detailstringrequiredUser-safe explanation. Display it if you must; never match on it.
errorsobject[]Field-level validation problems. Present on validation failures.
Show propertiesHide properties
Array of
objectcodestringrequiredPer-field machine code (REQUIRED, TOO_SMALL, …).
detailstringrequiredHuman-readable description of the field problem.
pointerstringrequiredJSON Pointer to the offending request field.
paramsobjectExtra primitive detail about the condition, such as a limit that was hit.
retry_afterintegerSeconds to wait before retrying, when a meaningful delay exists.
retryablebooleanrequiredWhether this condition is transient. Derived from code.
statusintegerrequiredMirrors the HTTP status code.
titlestringrequiredShort human summary of the problem type.
typestringrequiredURL identifying the problem type. An identifier to match, not a link.
404No such call log in this phone system — a nonexistent id and an id belonging to another phone system are indistinguishable — or the phone system itself is not covered by the key.
codestringrequiredStable machine identifier to branch on.
correlationIdstringrequiredRequest identifier to quote to support.
detailstringrequiredUser-safe explanation. Display it if you must; never match on it.
errorsobject[]Field-level validation problems. Present on validation failures.
Show propertiesHide properties
Array of
objectcodestringrequiredPer-field machine code (REQUIRED, TOO_SMALL, …).
detailstringrequiredHuman-readable description of the field problem.
pointerstringrequiredJSON Pointer to the offending request field.
paramsobjectExtra primitive detail about the condition, such as a limit that was hit.
retry_afterintegerSeconds to wait before retrying, when a meaningful delay exists.
retryablebooleanrequiredWhether this condition is transient. Derived from code.
statusintegerrequiredMirrors the HTTP status code.
titlestringrequiredShort human summary of the problem type.
typestringrequiredURL identifying the problem type. An identifier to match, not a link.
Request
curl -X GET "https://api.steerphones.com/v1/customer/phone-systems/%3Cuuid%3E/call-logs/%3Cuuid%3E" \
-H "X-API-Key: YOUR_API_KEY"Response
{
"callSid": "string",
"createdAt": "2024-01-01T00:00:00Z",
"direction": "inbound",
"duration": 0,
"endTime": "2024-01-01T00:00:00Z",
"from": "string",
"fromName": "string",
"id": "<uuid>",
"outcome": "string",
"parentCallSid": "string",
"phoneSystemId": "<uuid>",
"recordingDuration": 0,
"recordingSid": "string",
"startTime": "2024-01-01T00:00:00Z",
"status": "string",
"to": "string",
"transcribedText": "string",
"transcriptionStatus": "completed"
}{
"code": "string",
"correlationId": "string",
"detail": "string",
"errors": [
{
"code": "string",
"detail": "string",
"pointer": "string"
}
],
"params": {},
"retry_after": 0,
"retryable": true,
"status": 0,
"title": "string",
"type": "string"
}{
"code": "string",
"correlationId": "string",
"detail": "string",
"errors": [
{
"code": "string",
"detail": "string",
"pointer": "string"
}
],
"params": {},
"retry_after": 0,
"retryable": true,
"status": 0,
"title": "string",
"type": "string"
}{
"code": "string",
"correlationId": "string",
"detail": "string",
"errors": [
{
"code": "string",
"detail": "string",
"pointer": "string"
}
],
"params": {},
"retry_after": 0,
"retryable": true,
"status": 0,
"title": "string",
"type": "string"
}{
"code": "string",
"correlationId": "string",
"detail": "string",
"errors": [
{
"code": "string",
"detail": "string",
"pointer": "string"
}
],
"params": {},
"retry_after": 0,
"retryable": true,
"status": 0,
"title": "string",
"type": "string"
}